diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-07-30 23:23:18 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-07-31 09:32:14 +0200 |
commit | aaf490d794bd077330c306face305f4a87de5809 (patch) | |
tree | e4dad61f8f0a3a0e978c9c372d9d631646ec6b56 /util | |
parent | 74f7be728715e164d5b7f174491797ce31206c8d (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 'util')
0 files changed, 0 insertions, 0 deletions