Re: [PATCH] Allow null bytes in UNIX sockets.

2021-03-29 Thread Maxime Devos
On Mon, 2021-03-29 at 17:37 +0200, Leo Prikler wrote: > The current socket address constructors all assume, that there are no > null bytes in the socket path. This assumption does not hold in Linux, > which uses an initial null byte to demarcate abstract sockets and > ignores all further null byte

[PATCH] Allow null bytes in UNIX sockets.

2021-03-29 Thread Leo Prikler
The current socket address constructors all assume, that there are no null bytes in the socket path. This assumption does not hold in Linux, which uses an initial null byte to demarcate abstract sockets and ignores all further null bytes [1]. [1] https://www.man7.org/linux/man-pages/man7/unix.7.h