[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Possible errors
From: |
Fabian Cenedese |
Subject: |
[lwip-users] Possible errors |
Date: |
Thu, 07 Feb 2013 12:55:30 +0100 |
Hi
There are a few places where variables are used without
checking (1) or even in case of NULL (2). I don't know if
the (1) errors really can occur but the code could check
anyway.
bye Fabi
(1)
[lwip\src\api\api_msg.c:225] -> [lwip\src\api\api_msg.c:227]: (error) Possible
null pointer dereference: conn - otherwise it is redundant to check it against
null.
[lwip\src\api\api_msg.c:320] -> [lwip\src\api\api_msg.c:326]: (error) Possible
null pointer dereference: conn - otherwise it is redundant to check it against
null.
[lwip\src\api\api_msg.c:322] -> [lwip\src\api\api_msg.c:326]: (error) Possible
null pointer dereference: conn - otherwise it is redundant to check it against
null.
(2)
[lwip\src\core\ipv4\igmp.c:801]: (error) Possible null pointer dereference: igmp
- [lwip-users] Possible errors,
Fabian Cenedese <=