diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2014-05-06 14:50:03 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-05-06 15:41:02 -0700 |
commit | d8d4701864e8a0e5a1c97e12478d485e814d9941 (patch) | |
tree | b50e372d892955bc417633af396f9a409880b607 /clients/keyboard.c | |
parent | 67072d03d3d4eda1618fd5a97b823585cc7e6fbe (diff) |
compositor-wayland: avoid possible NULL deref in handle_keymap
If data is NULL, then we jumped to error which attempts to
dereference data. Instead, just close(fd) and return when
data is NULL.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'clients/keyboard.c')
0 files changed, 0 insertions, 0 deletions