lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] bug fix - possible access violation in case of error in dem


From: Avner BenHanoch
Subject: [lwip-users] bug fix - possible access violation in case of error in demo application
Date: Sun, 24 Oct 2010 18:22:26 +0200

Hi All,

Attached diff file contains bug fix for file: contrib-1.4.0.rc1/ports/unix/proj/minimal/mintapif.c 
(The current code sends un-initialized char array to perror).

To reach the error situation, you can do the following:
  1. sudo chmod 666 /dev/net/tun
  2. cd contrib-1.4.0.rc1/ports/unix/proj/minimal/ && make
  3. run the ./echop demo application without root privileges
[at the end remember to restore: sudo chmod 600 /dev/net/tun ]

Regards,
  Avner

Attachment: mintapif.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]