Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5-2] xsrc/external/mit/libX11/dist/src/xkb



Module Name:    xsrc
Committed By:   bouyer
Date:           Wed Sep 18 19:46:23 UTC 2013

Modified Files:
        xsrc/external/mit/libX11/dist/src/xkb [netbsd-5-2]: XKBGetMap.c
            XKBNames.c

Log Message:
Apply patch, requested by riz in ticket #1877
        xsrc/external/mit/libX11/dist/src/xkb/XKBNames.c        patch

The size of the arrays is max_key_code + 1. This makes these functions
consistent with the other checks added for CVE-2013-1997.
Check the XkbGetNames reply when names->keys was just allocated
Should fix PR lib/48170.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.1.4.1 -r1.1.1.1.2.1.4.2 \
    xsrc/external/mit/libX11/dist/src/xkb/XKBGetMap.c \
    xsrc/external/mit/libX11/dist/src/xkb/XKBNames.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index