buglwIP - A Lightweight TCP/IP stack - Bugs: bug #41497, lwip_select accessing bytes past...

 
 

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

bug #41497: lwip_select accessing bytes past the (maxfdp1+7)/8 of the fd_sets

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Fri 07 Feb 2014 11:44:26 AM UTC
   
 
Category:  sockets/netconn Severity:  3 - Normal
Item Group:  Crash Error Status:  Works For Me
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Tue 17 Feb 2015 09:27:16 PM UTC, comment #3: 

Works for me, i have tried my best to reproduce this but failed.

Simon Goldschmidt <goldsimon>
Group administrator
Sat 17 Jan 2015 01:53:11 PM UTC, comment #2: 

Has anyone seen this? Any input guiding me to why this might happen? If not, I'll close it as invalid...

Simon Goldschmidt <goldsimon>
Group administrator
Tue 28 Oct 2014 09:03:06 PM UTC, comment #1: 

Can't see how this can happen: with the default implementation, only the FD_* macros are accessing the bits. And I consider them as safe as they are...

Simon Goldschmidt <goldsimon>
Group administrator
Fri 07 Feb 2014 11:44:26 AM UTC, original submission:  

lwip-devel on 13-08-18:
"Hi,
I have noticed that lwip_select is accessing bytes past the (maxfdp1+7)/8 of the fd_sets.
at least one application (libevent) assumes that not to be the case resulting in memory corruption.

I think you should consider changing or at least add a warning.

Thanks,
Ilya"

Simon Goldschmidt <goldsimon>
Group administrator

 

(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 goldsimon (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-17 goldsimon Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2014-10-28 goldsimon StatusNone Works For Me

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code