sd-bus: make parsing of AF_UNIX socket addresses more strict
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Oct 2018 16:17:57 +0000 (18:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 15 Oct 2018 17:40:51 +0000 (19:40 +0200)
commit1d261418e280a7918549d638d574fbea08cf79a9
tree3a95292195764fb424603552a381f498b47ca79d
parent15a3e96f9220c931507456764902ff05d7171318
sd-bus: make parsing of AF_UNIX socket addresses more strict

Insist on NUL termination, just to be safe rather than sorry. The kernel
doesn't require it, but it's really annoying if people rely on this,
hence refuse this early.
src/libsystemd/sd-bus/sd-bus.c