diff options
| author | 2020-03-09 16:11:00 -0700 | |
|---|---|---|
| committer | 2020-03-09 17:33:22 -0700 | |
| commit | 8e82b8d99e9ffb73bf3bb3c7c6aaa956e2228a41 (patch) | |
| tree | b00fa5b79f5fabcdde8e082c9c98d084296f186a /vulkan/libvulkan/api.cpp | |
| parent | 1c7bc86a9b1bdf16b240a96d083102127f036325 (diff) | |
[RenderEngine] Fix use-after-move error
GLESREnderEngine::waitFence takes ownership of the file descriptor, so
callers must dup it first. Otherwise, this results in a use-after-free
error on devices that do not support EGL_ANDROID_native_fence_sync.
Bug: 150954608
Test: WITH_TIDY=1 m -j
Change-Id: I7e6d88c0f282a317fd8e603dccb918f3d5bc0fcc
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions