diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-10-20 01:11:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-10-28 20:29:16 -0700 |
commit | 455c2f3715456fd88c2741bd2028a9f0a702bb28 (patch) | |
tree | 016e6ec804e8270787ee3c8078ce1c3a36bc926c /src/xkbtext.c | |
parent | 7544a9eb35d5850ae2e68d8cdab50f25ce7cd5d9 (diff) | |
download | xorg-lib-libxkbfile-455c2f3715456fd88c2741bd2028a9f0a702bb28.tar.gz |
Don't dereference xkb pointer until after checking it for NULL
Some compilers can perform mind-twistingly evil optimizations
if you check for NULL after using it, others just let you segv.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbtext.c')
0 files changed, 0 insertions, 0 deletions