aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/noop.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-07-30 23:23:18 -0500
committerSimon Ser <contact@emersion.fr>2020-07-31 09:32:14 +0200
commitaaf490d794bd077330c306face305f4a87de5809 (patch)
treee4dad61f8f0a3a0e978c9c372d9d631646ec6b56 /include/wlr/backend/noop.h
parent74f7be728715e164d5b7f174491797ce31206c8d (diff)
drm: fix uninitialized read
get_drm_prop_blob does not set path_len if it returns NULL. Check the return value before path_len to avoid reading uninitialized memory. (Granted, this doesn't change the logic at all, but it does make Valgrind a bit happier.)
Diffstat (limited to 'include/wlr/backend/noop.h')
0 files changed, 0 insertions, 0 deletions