[PATCH xserver] XDMCP: Fix format in XDMCP fatal error printing

Daniel Martin consume.noise at gmail.com
Tue Nov 10 02:41:40 PST 2015


On 10 November 2015 at 11:19, Egbert Eich <eich at freedesktop.org> wrote:
> From: Egbert Eich <eich at suse.de>
>
> XdmcpFatal() calls FatalError() with '%*.*s' in the format string.
> FatalError() uses the async safe versions of printf() which only
> support a subset of the POSIX printf formats - they don't contain
> the '*' width and precision specifiers.

There is a patch from Jon Turney in the tree since 1.17.2:
    d3080d4 os: Teach vpnprintf() how to handle "%*.*s"

Maybe you can cherry-pick it into your 1.16 branch.


Cheers,
    Daniel


More information about the xorg-devel mailing list