xkb: Verify reads of compiled keymap header and TOC
authorKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 22:12:14 +0000 (15:12 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 23:30:18 +0000 (16:30 -0700)
commitc7011249d2abe6cc7af82ee4b79d8f6873444707
tree6e195c2c56cd305ccbfef6b5c10e199656d596f9
parent0af8788579c2f52cc1172952c9004483bf863932
xkb: Verify reads of compiled keymap header and TOC

Check the return values from fread to make sure the elements are
actually getting read from the file.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
xkb/xkmread.c