mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 09:26:28 +02:00
We already do this for the SimpleIndexedPropertyStorage, so for indexed properties with GenericIndexedPropertyStorage this would previously crash. Since overwriting the array-like size with a larger value won't magically insert values at previously unset indices, we need to handle such an out of bounds access gracefully and just return an empty value. Fixes #7043.
10 KiB
10 KiB