News for hackers. Stuff that matters.
Re:The trouble with struct sockaddr's fake flexible array by rjsw on Friday November 29, 2024 @06:28AM (#42273081)
The article could point out that real BSD sockaddrs only have an 8-bit field for the address family which leaves another 8 bits for the length of the structure.
Re:The trouble with struct sockaddr's fake flexible array by asveikau on Friday November 29, 2024 @10:25AM (#42274468)
Some platforms have a field called sa_len.