mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
* Pass the correct source address for copying tine addr_length. Previously, this was broken when addr_length was non-nullptr. * Copy min(sizeof(address), address_length) bytes into address, instead of sizeof(address), which might be larger than the user buffer. * Use sockaddr_storage instead of sockaddr_un. In practice they're both the same size, but this is what sockaddr_storage is for. With this (in particular, the first fix), `ue /bin/ntpquery` actually gets past the recvfrom() call :^)