aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-05-30 23:38:48 -0400
committerSimon Ser <contact@emersion.fr>2019-05-31 07:58:31 +0300
commit6dfe238ff1e756bc51a609143d22f0659e3e89c8 (patch)
tree8406efc7424eef1bf82a8c5bd3a6d6cddbc85165 /util
parenta5e32f652b84ae71e207af6b9615a69c7738928f (diff)
zwp_virtual-keyboard: fix mmap error handling
If mmap fails, it will return MAP_FAILED not NULL. Since the error handling was incorrectly checking for NULL, MAP_FAILED was being passed to xkb_keymap_new_from_string, on mmap failure, causing a segfault. This just fixes the error checking.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions