buglwIP - A Lightweight TCP/IP stack - Bugs: bug #50536, socket API might fail for...

 
 

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

bug #50536: socket API might fail for sizeof(int) <= 2

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Mon 13 Mar 2017 09:01:14 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Tue 25 Apr 2017 08:13:36 AM UTC, comment #1:

Fixed 5 days ago.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 13 Mar 2017 09:01:14 PM UTC, original submission:

Currently, we use int as return value for various socket functions returning copy- or datagram length.
However, the opengroup spec says we should return ssize_t instead here. This might be to compensate for platforms where 'int' has 16 bits (and thus we could return 32KByte only, and our max.-sized pbufs would fail).

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 25 Apr 2017 08:13:36 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1