Files
ladybird/Libraries/LibWeb/HTML/Storage.cpp
Jelle Raaijmakers 51564d2ff9 LibWeb: Prevent race condition in Storage::key()
Depending on the underlying implementation of the storage bottle, we
have to do IPC calls to get either the size or keys. We crash on an
out-of-bounds if the bottle changes size after the bounds check in step
1. Fix this by obtaining the keys immediately and using that for the
bounds check.
2026-03-20 14:04:11 +01:00

11 KiB