lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #31170] lwip_setsockopt() does not set socket number


From: Martin Velek
Subject: [lwip-devel] [bug #31170] lwip_setsockopt() does not set socket number
Date: Thu, 30 Sep 2010 11:09:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)

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

                 Summary: lwip_setsockopt() does not set socket number
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: allew
            Submitted on: Thu 30 Sep 2010 11:09:14 AM GMT
                Category: sockets
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

The function lwip_setsockopt() below line 2018 fills a
lwip_setgetsockopt_data structure for function lwip_setsockopt_internal().
However the socket index for which to change options is not set.
If the lwip_setgetsockopt_data.s is referenced from
lwip_setsockopt_internal() it has a random value.

A solution:
Add below line 2018 
data.s = s;

The same for function lwip_getsockopt().





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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