lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #43361] select() crashes with stale FDs


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #43361] select() crashes with stale FDs
Date: Sat, 17 Jan 2015 20:13:35 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Update of bug #43361 (project lwip):

                  Status:                    None => Fixed                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Fixed by checking the return value of tryget_socket(): if one socket fails,
the function is aborted after decreasing 'select_waiting' of the lower
sockets.

There is however still one possible bug of a lower socket getting closed and
reused between 'select_waiting++' and 'select_waiting--', but that's a more
advanced use case than this one...

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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