Module Name: xsrc Committed By: bouyer Date: Wed Sep 18 19:53:43 UTC 2013
Modified Files: xsrc/external/mit/libX11/dist/src/xkb [netbsd-6-0]: XKBGetMap.c XKBNames.c Log Message: Apply patch, requested by riz in ticket #945 xsrc/external/mit/libX11/dist/src/xkb/XKBNames.c patch xsrc/external/mit/libX11/dist/src/xkb/XKBGetMap.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.4.4.1 -r1.1.1.4.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.