| author | Max Kellermann <max.kellermann@gmail.com> | |
| Thu, 21 Sep 2017 08:26:28 +0000 (10:26 +0200) | ||
| committer | Max Kellermann <max.kellermann@gmail.com> | |
| Thu, 21 Sep 2017 08:26:28 +0000 (10:26 +0200) | ||
| commit | f160a38904423ce6b97ecbf11203b6eefa890eb8 | |
| tree | dd1f716b8d8be75d621541783432e11e8163cadb | tree | snapshot |
| parent | 08f0e3270fdaa144de93a38650550b91b4ba027b | commit | diff |
resolver: set the correct address size for local/abstract sockets
Limit the socklen_t to the real path length, and omit the trailing
null terminator in abstract sockets.
Limit the socklen_t to the real path length, and omit the trailing
null terminator in abstract sockets.
| src/net/resolver.c | diff | blob | history |