summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorDexesTTP <dexes.ttp@gmail.com>2020-04-06 21:21:11 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-06 21:45:20 +0200
commit4a9485f830c1134177cbd066fdeb24458d1ec4d0 (patch)
tree26e057f3d3cf656d3f58fcf2c1451350e7c5ca18 /Kernel/Devices
parentcb18b2c74df21f6d7e9677bd9e4eb0252f163f4d (diff)
downloadserenity-4a9485f830c1134177cbd066fdeb24458d1ec4d0.zip
LibJS: Fix impossible member access for negative integers
The PropertyName class able to match a number or an array can only accept positive numerical values. However, the computed_property_name method sometimes returned negative values. This commit also adds a basic object access test case.
Diffstat (limited to 'Kernel/Devices')
0 files changed, 0 insertions, 0 deletions