1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:20:59 +00:00
serenity/Userland
Daniel Bertalan fd76e71934 LibJS: Fix UB in Math.clz32
If the argument to this function is greater then or equal to 2^32, the
`double` => `u32` cast produces undefined behavior, which Clang catches.
To fix this, we now use `ToUint32` for getting the integer argument, as
specified by ECMA-262.
2021-08-08 10:55:36 +02:00
..
Applets Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
Applications SystemMonitor: Remove unused this lambda captures 2021-08-08 10:55:36 +02:00
Demos Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
DevTools UserspaceEmulator: Use for_each_region_of_type in find_text_region 2021-08-08 10:55:36 +02:00
DynamicLoader Meta: Add Clang support to the CMake build scripts 2021-08-08 10:55:36 +02:00
Games Solitaire: Don't allow the player to draw cards while mouse is down 2021-08-07 16:59:46 +02:00
Libraries LibJS: Fix UB in Math.clz32 2021-08-08 10:55:36 +02:00
Services WindowServer: Fix Clang crash when compiling Compositor.cpp 2021-08-08 10:55:36 +02:00
Shell Shell: Make sure TTY echo is enabled when running external commands 2021-08-04 03:14:59 +04:30
Utilities LibCpp: Do lexing in the Preprocessor 2021-08-07 21:24:11 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00