xcursorgen: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Aug 25 20:51:08 UTC 2018


 xcursorgen.c |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit f04b349f8dce94c7efaee48049829e6a17a3a60a
Author: Tobias Stoeckmann <tobias at stoeckmann.org>
Date:   Mon Jun 25 09:02:24 2018 +0200

    Fix null pointer dereference on very large images.
    
    If xcursorgen encounters a PNG file which is larger than 32767 pixels
    in width or height, a null pointer dereference occurs because the
    return value of XcursorImageCreate is not checked.
    
    The largest possible value is 32767 for libXcursor, which is a hard
    coded limit due to a 16 bit integer used (0x7FFF).
    
    Fixes: https://gitlab.freedesktop.org/xorg/app/xcursorgen/issues/1
    
    Signed-off-by: Tobias Stoeckmann <tobias at stoeckmann.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list