Code

resolver: set the correct address size for local/abstract sockets
authorMax Kellermann <max.kellermann@gmail.com>
Thu, 21 Sep 2017 08:26:28 +0000 (10:26 +0200)
committerMax Kellermann <max.kellermann@gmail.com>
Thu, 21 Sep 2017 08:26:28 +0000 (10:26 +0200)
commitf160a38904423ce6b97ecbf11203b6eefa890eb8
treedd1f716b8d8be75d621541783432e11e8163cadb
parent08f0e3270fdaa144de93a38650550b91b4ba027b
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.
src/net/resolver.c