aboutsummaryrefslogtreecommitdiff
path: root/src/common/fs/fs.cpp
diff options
context:
space:
mode:
authorBoiledElectricity <james.dellamorte@gmail.com>2026-06-15 03:02:53 +0200
committercrueter <crueter@eden-emu.dev>2026-06-15 03:02:53 +0200
commitef4113aeaade8a7055fbedb386837554aead254f (patch)
treebd8dd1e12d645decb3c3f3633e4c117a5d1c6265 /src/common/fs/fs.cpp
parent78a1cd0533fd4b6d5be77f9f6f2a87ca6b509d03 (diff)
[video_core] fix TOCTOU in Vulkan instance extension enumeration (#4072)
So CreateInstance was enumerating instance extensions twice, and that could race if the driver returned a different list the second time. On some AMD iGPU drivers, we could enable an extension from the first list, then fail the second check with VK_ERROR_EXTENSION_NOT_PRESENT. Fix this by enumerating once and passing that same snapshot into RequiredExtensions. Fixes: https://github.com/eden-emulator/Issue-Reports/issues/414 Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4072 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/common/fs/fs.cpp')
0 files changed, 0 insertions, 0 deletions