xkbcomp: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Wed Aug 28 16:38:23 PDT 2013
xkbscan.c | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
New commits:
commit 24d18e0a844041ef82441adb16aa18cc4b4814ae
Author: Benno Schulenberg <bensberg at justemail.net>
Date: Wed Aug 28 20:03:30 2013 +0200
Making sure that a copied string is always null-terminated (#66345).
A more minimalistic and formally correct solution.
This amends and extends the previous fix for bug #66345,
fixing not just yyGetKeyName() but also yyGetString().
Signed-off-by: Benno Schulenberg <bensberg at justemail.net>
Fixes a typo from cdcd552 (should be sizeof - 1, not sizeof -i).
Code flows that i is at most sizeof(scanBuf) - 1, so last is not needed.
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