libXaw: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Tue Mar 14 23:46:54 UTC 2017


 src/AsciiSink.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ba7321b6a52726cdb9964b82c5111518dc1f437d
Author: Tobias Stoeckmann <tobias at stoeckmann.org>
Date:   Mon Mar 13 20:01:27 2017 +0100

    NULL pointer dereference in XawAsciiSinkInitialize
    
    The function XawAsciiSinkInitialize is prone to a NULL pointer
    dereference if no font is available.
    
    Even though a specific check for a NULL font exists, it is called
    after GetGC(), which in turn would trigger the NPE in such a case.
    
    Spotted by calling xmessage on a system with an incomplete x font setup:
    
    $ xmessage -b text
    Warning: Unable to load any usable ISO8859 font
    Segmentation fault
    $ _
    
    Signed-off-by: Tobias Stoeckmann <tobias at stoeckmann.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list