commit | d8d4701864e8a0e5a1c97e12478d485e814d9941 | [log] [tgz] |
---|---|---|
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | Tue May 06 14:50:03 2014 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue May 06 15:41:02 2014 -0700 |
tree | b50e372d892955bc417633af396f9a409880b607 | |
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>