ladybird/Tests
davidot 56c425eec1 LibJS: Detect invalid unicode and stop lexing at that point
Previously we might swallow invalid unicode point which would skip valid
ascii characters. This could be dangerous as we might skip a '"' thus
not closing a string where we should.
This might have been exploitable as it would not have been clear what
code gets executed when looking at a script.

Another approach to this would be simply replacing all invalid
characters with the replacement character (this is what v8 does). But
our lexer and parser are currently not set up for such a change.
2021-12-29 16:57:23 +01:00
..
AK AK: Make Disjoint*::is_empty() not call size 2021-12-24 05:55:34 -08:00
Kernel Kernel: Return EINVAL when specifying -1 for setuid and similar syscalls 2021-12-20 11:32:16 +01:00
LibC LibC: Allow multiple includes of <assert.h> 2021-12-23 17:53:46 -08:00
LibCompress Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
LibCore LibCore: Fix race conditions in TestLibCoreStream 2021-12-28 01:02:35 +01:00
LibCpp Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
LibCrypto LibCrypto+Tests: Avoid implicitly copying ByteBuffer 2021-12-08 09:46:13 -08:00
LibELF LibELF: Fix dynamic linking of dlopen()-ed libs 2021-10-06 12:33:21 +02:00
LibGfx LibCore+AK: Move MappedFile from AK to LibCore 2021-11-23 11:33:36 +01:00
LibGL Tests: Add a simple LibGL render-test 2021-11-29 23:17:05 +03:30
LibIMAP Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
LibJS LibJS: Detect invalid unicode and stop lexing at that point 2021-12-29 16:57:23 +01:00
LibM AK: Implement acos<T> correctly 2021-11-18 21:10:30 +01:00
LibMarkdown Meta: Add Meta/CMake to the CMAKE_MODULE_PATH for Serenity and Lagom 2021-09-15 19:04:52 +04:30
LibPthread LibPthread: Add first test cases for RWlock 2021-09-28 18:36:20 +03:30
LibRegex LibRegex: Make FailForks fail all forks up to the last save point 2021-12-25 18:41:10 +01:00
LibSQL Tests: Cast unused smart-pointer return values to void 2021-12-05 15:31:03 +01:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibThreading Tests: Disable LibThreading detach tests for now 2021-10-06 19:21:35 +02:00
LibTLS AK: Make ByteBuffer::try_* functions return ErrorOr<void> 2021-11-10 21:58:58 +01:00
LibUnicode LibUnicode: Support code point names that apply to ranges of code points 2021-11-30 11:24:02 +01:00
LibWasm LibCore: Use ErrorOr<T> for Core::File::open() 2021-11-08 00:35:27 +01:00
LibWeb Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
UserspaceEmulator Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
CMakeLists.txt LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00