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

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Mon 13 Mar 2017 09:01:14 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

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

Fixed 5 days ago.

Simon Goldschmidt <goldsimon>
Group administrator
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>
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
    2017-04-25 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code