View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001565 | 1003.1(2016/18)/Issue7+TC2 | System Interfaces | public | 2022-03-03 20:35 | 2024-06-11 09:07 |
Reporter | dennisw | Assigned To | |||
Priority | normal | Severity | Comment | Type | Clarification Requested |
Status | Closed | Resolution | Accepted | ||
Name | Dennis Wölfing | ||||
Organization | |||||
User Reference | https://gitlab.com/sortix/sortix/-/issues/792 | ||||
Section | accept, getpeername, getsockname, recvfrom, recvmsg | ||||
Page Number | 568, 1066, 1095, 1796, 1800 | ||||
Line Number | 19869, 36257, 37100, 58151, 58259 | ||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0001565: Ambiguous which length addr_len is set to | ||||
Description | Multiple socket functions have a socklen_t* address_len parameter that on output is specified to point to the length of the "stored address". However the length of the stored address is ambiguous because these functions are specified to truncate the stored address if the given buffer is too small, leaving it unclear whether the stored length is supposed to be the length before or after truncation. This wording came from 0000464 where the description states that the length before truncation is intended. | ||||
Desired Action | On page 568 line 19869 section accept, changestored addressto address of the connecting socket On page 1066 line 36257 section getpeername, change stored addressto peer address On page 1095 line 37100 section getsockname, change stored addressto socket address On page 1796 line 58151 section recvfrom, change stored addressto sending address On page 1800 line 58259 section recvmsg, change stored addressto source address | ||||
Tags | tc3-2008 |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-03 20:35 | dennisw | New Issue | |
2022-03-03 20:35 | dennisw | Name | => Dennis Wölfing |
2022-03-03 20:35 | dennisw | User Reference | => https://gitlab.com/sortix/sortix/-/issues/792 |
2022-03-03 20:35 | dennisw | Section | => accept, getpeername, getsockname, recvfrom, recvmsg |
2022-03-03 20:35 | dennisw | Page Number | => 568, 1066, 1095, 1796, 1800 |
2022-03-03 20:35 | dennisw | Line Number | => 19869, 36257, 37100, 58151, 58259 |
2022-04-21 14:17 | geoffclare | Relationship added | related to 0000464 |
2022-04-21 15:08 | Don Cragun | Interp Status | => --- |
2022-04-21 15:08 | Don Cragun | Status | New => Resolved |
2022-04-21 15:08 | Don Cragun | Resolution | Open => Accepted |
2022-04-21 15:09 | Don Cragun | Tag Attached: tc3-2008 | |
2022-05-23 11:25 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:07 | agadmin | Status | Applied => Closed |