xauth.exe generates corrupted .Xauthority entry if hostname length==0x0a (i.e. LF)
Brought to you by:
marha
xauth.exe seems to generate corrupted .Xauthority entry if hostname length==0x0a (i.e. ASCII LF)
Context:
VcXsrv Release: 1.20.14.0, build for Windows NT 6.2 build 9200 (64-bit)
Windows 10 (Version 21H2, Build: 19044.2251)
To reproduce start:
vcxsrv.exe on a windows host with hostname length == 10 (e.g. "KU-C-0005X")
xauth.exe generate 127.0.0.1:0.0 .
xauth.exe list
see attached .Xauthority hexdump, namely CR character before hostname length.