Files
ladybird/Userland/Libraries/LibJS/Runtime
Daniel Bertalan 0e21bf0f23 LibJS: Don't overflow size_t in Value::to_length()
Although this is not spec-compliant, we don't have a way to represent
objects larger than `NumericLimits<size_t>::max()`. Since this abstract
operation is only used when dealing with object size, we don't lose any
functionality by taking that limit into account too.

This fixes a UBSAN error when compiling with Clang.
2021-08-08 10:55:36 +02:00
..
2021-08-01 08:10:16 +02:00
2021-08-08 10:55:36 +02:00