libxtrans: Changes to 'master'
James Cloos
cloos at kemper.freedesktop.org
Fri Apr 25 12:56:27 PDT 2008
Xtranssock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 960902584a3ef125946beb5ebe331b54d697e9d9
Author: James Cloos <cloos at jhcloos.com>
Date: Fri Apr 25 15:53:20 2008 -0400
Fix length calculation for the path for abstract unix domain sockets
Since the struct has a fixed-lenght char[] its sizeof() contains
trailing NUL octets which results in corrupt abstract sockets.
Instead, take the strlen(3) of the path, plus the single NUL octet
(which identifies the path as an abstract path rather than a file-
system path) plus the offset from the start of the struct to the
start of the char array.
This fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=15677
More information about the xorg-commit
mailing list