Add a NULL check before before strcmp'ing
authorRan Benita <ran234@gmail.com>
Sun, 1 Apr 2012 13:51:48 +0000 (16:51 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 2 Apr 2012 12:09:40 +0000 (13:09 +0100)
commit84ec6b61a76a753f72eecec825fd0736d5b0070c
tree5f906eb93eaa3c58cec3bb5f51d98bf0f72a28b5
parent9813778e732180407adb44766cc42fa4fe610f6a
Add a NULL check before before strcmp'ing

The names array can have NULL entries for some virtual modifier indexes.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/vmod.c