summaryrefslogtreecommitdiff
path: root/va/wayland/va_wayland_private.h
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2017-11-14 09:52:45 -0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-11-16 10:00:22 -0800
commit2ea89fcb5075d090432f1140f863e8a82201ea22 (patch)
tree42d6f3cfe426cf8c65cd594ba7fdcc86002f8b66 /va/wayland/va_wayland_private.h
parent4794b9989b91a3326d1819b972ec9d48e4b78139 (diff)
downloadlibva-2ea89fcb5075d090432f1140f863e8a82201ea22.tar.gz
wayland: fix toctou violation when opening drm device
A file's attributes could change between the stat() and the open() operations. Thus, check file attributes on the opened file descriptor instead of the filename. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'va/wayland/va_wayland_private.h')
0 files changed, 0 insertions, 0 deletions