[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #36492] Static Analysis on code 1.4.0
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #36492] Static Analysis on code 1.4.0 |
Date: |
Tue, 29 May 2012 20:13:12 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0 |
Follow-up Comment #7, bug #36492 (project lwip):
> What tool are you using to produce these reports?
One of the Klocwork programs, from asking google...
> Neither 'port' nor 'naddr.addr' are directly initialized in the
> function lwip_accept().
>
> If functions called by lwip_accept() initialized the variables
> it should be OK, but there is no guaranty.
And that's the problem with static analysis: this will *never* fail, as we do
know that netconn_peer() *always* initializes these variables if it returns
ERR_OK (and if it doesn't return ERR_OK, line 363 is not reached).
Nevertheless, I regard static analysis as input worth checking, so I'll have a
look at this, thanks for updating the report.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36492>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, (continued)
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Simon Goldschmidt, 2012/05/20
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, bayard, 2012/05/22
- Re: [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Mason, 2012/05/23
- Re: [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Simon Goldschmidt, 2012/05/23
- Re: [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Mason, 2012/05/23
- Re: [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Mason, 2012/05/23
- Re: [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Sylvain Rochet, 2012/05/23
- Re: [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Mason, 2012/05/23
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Mason, 2012/05/24
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, bayard, 2012/05/25
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0,
Simon Goldschmidt <=
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, Simon Goldschmidt, 2012/05/29
- [lwip-devel] [bug #36492] Static Analysis on code 1.4.0, bayard, 2012/05/30