diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2017-11-14 09:52:45 -0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-11-16 10:00:22 -0800 |
commit | 2ea89fcb5075d090432f1140f863e8a82201ea22 (patch) | |
tree | 42d6f3cfe426cf8c65cd594ba7fdcc86002f8b66 /va/wayland/va_wayland_private.h | |
parent | 4794b9989b91a3326d1819b972ec9d48e4b78139 (diff) | |
download | libva-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