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

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Fri 07 Feb 2014 11:44:26 AM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Works For Me
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 17 Feb 2015 09:27:16 PM UTCgoldsimonAssigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 28 Oct 2014 09:03:06 PM UTCgoldsimonStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1