diff options
author | Andrew Kaster <akaster@serenityos.org> | 2021-05-31 13:08:49 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-27 22:35:37 +0200 |
commit | e389ae3c9754b0c6c40a383a666f103c42789630 (patch) | |
tree | e3bdf5585d0f886b82faf5e03eed487c7c7b35ab /Userland/Libraries/LibJS/Runtime/BoundFunction.cpp | |
parent | 1f2720ce0d43e74100ef093cd0222780e8929bab (diff) | |
download | serenity-e389ae3c9754b0c6c40a383a666f103c42789630.zip |
LibJS: Ensure shift values in shift_right are modded by 32
The unsigned shift right implementation was already doing this, but
the spec requires a mod32 of rhs before the shift for the signed shift
right implementation as well. Caught by UBSAN and oss-fuzz.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/BoundFunction.cpp')
0 files changed, 0 insertions, 0 deletions