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"

Submitted by:  Andrey Butok <butok>
Submitted on:  Tue 31 May 2016 12:38:52 PM UTC  
 
Category: ContribSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

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

Fixed by Simon

Dirk Ziegelmeier <dziegel>
Project Member
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Jun 2016 05:07:40 PM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1