Fix possible overflow in scanner
authorRan Benita <ran234@gmail.com>
Sun, 8 Apr 2012 17:58:39 +0000 (20:58 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 9 Apr 2012 12:54:15 +0000 (13:54 +0100)
commite9537d50d0239c8444de74f85ff063e629242c67
treef067509f683529e37e2c513ba477ec1f35a207f3
parent8feba630fa7a4b720c42a9b5b4e4280b0e17a500
Fix possible overflow in scanner

Also reduce the size of scanBuf given that it's allocated on the stack,
and 1024 is enough.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/parseutils.h
src/xkbcomp/xkbscan.l