buglwIP - A Lightweight TCP/IP stack - Bugs: bug #48065, ping_recv() has uninitialized...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #48065: ping_recv() has uninitialized variable "fromlen"

Submitter:  Andrey Butok <butok>
Submitted:  Tue 31 May 2016 12:38:52 PM UTC
   
 
Category:  Contrib Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Sun 05 Jun 2016 05:07:40 PM UTC, comment #1: 

Fixed by Simon

Dirk Ziegelmeier <dziegel>
Group administrator
Tue 31 May 2016 12:38:52 PM UTC, original submission:  

Hello,

contrib\apps\ping\ping.c - ping_recv()
has uninitialized variable "fromlen" that causes wrong behavior.

Fix -to add one line 166:
  fromlen = sizeof(from);


Best regards,
Andrey Butok

Andrey Butok <butok>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by butok (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-05 dziegel StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code