summaryrefslogtreecommitdiff
path: root/Userland/ifconfig.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-28 00:26:00 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-28 13:08:19 +0200
commitc14fedd5629cf45f4a7b64e6c87d87181432c42d (patch)
treeed867deacb9c79114ff3b0a5f9f46cef8050ff3d /Userland/ifconfig.cpp
parent92671be906066affa0aaf072615d094e50440c8a (diff)
downloadserenity-c14fedd5629cf45f4a7b64e6c87d87181432c42d.zip
LibJS: Add bounds check to Array.prototype.{find,findIndex}
The number of iterations is limited to the initial array size, but we still need to check if the array did shrink since then before accessing each element. Fixes #1992.
Diffstat (limited to 'Userland/ifconfig.cpp')
0 files changed, 0 insertions, 0 deletions