Module Name: xsrc Committed By: bouyer Date: Wed Sep 18 19:44:57 UTC 2013
Modified Files: xsrc/external/mit/libX11/dist/src/xkb [netbsd-5]: 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.2 -r1.1.1.1.2.3 \ 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.