d3080d421b
XdmcpFatal uses the format specifier %*.*s, which vpnprintf() doesn't understand, which causes a backtrace and prevents the reason for the XDMCP failure being logged. See also: https://bugs.freedesktop.org/show_bug.cgi?id=66862 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758574 "%*.*s" is also currently used in a few other places, so teach vpnprintf() how to handle it $ fgrep -r "%*.*s" * hw/dmx/config/scanner.l: fprintf(stderr, "parse error on line %d at token \"%*.*s\"\n", hw/dmx/dmxlog.c: ErrorF("(%s) dmx[i%d/%*.*s]: ", type, hw/dmx/input/dmxinputinit.c: dmxLogCont(dmxInfo, "\t[i%d/%*.*s", os/access.c: ErrorF("Xserver: siAddrMatch(): type = %s, value = %*.*s -- %s\n", os/access.c: ("Xserver: siCheckAddr(): type = %s, value = %*.*s, len = %d -- %s\n", os/xdmcp.c: FatalError("XDMCP fatal error: %s %*.*s\n", type, Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> |
||
---|---|---|
.. | ||
.gitignore | ||
access.c | ||
auth.c | ||
backtrace.c | ||
busfault.c | ||
client.c | ||
connection.c | ||
io.c | ||
log.c | ||
Makefile.am | ||
mitauth.c | ||
oscolor.c | ||
osdep.h | ||
osinit.c | ||
rpcauth.c | ||
strcasecmp.c | ||
strcasestr.c | ||
strlcat.c | ||
strlcpy.c | ||
strndup.c | ||
utils.c | ||
WaitFor.c | ||
xdmauth.c | ||
xdmcp.c | ||
xprintf.c | ||
xsha1.c | ||
xstrans.c |