lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #48065] ping_recv() has uninitialized variable "fromle


From: Andrey Butok
Subject: [lwip-devel] [bug #48065] ping_recv() has uninitialized variable "fromlen"
Date: Tue, 31 May 2016 12:38:54 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.9.2.1000 Chrome/39.0.2146.0 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?48065>

                 Summary: ping_recv() has uninitialized variable "fromlen"
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: butok
            Submitted on: Tue 31 May 2016 12:38:52 PM GMT
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?48065>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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