ladybird/Libraries
Timothy Flynn edaed9adfa LibJS: Protect DateParser from non-ASCII input
DateParser is a GenericLexer, which is not particularly UTF-8 aware.
Other engines do not accept ASCII input, so let's just reject non-ASCII
strings outright.

While we are here, let's avoid the std ctype header. It is explicitly
undefined behavior to provide code points to isspace, isalpha, etc. that
do not fit in an unsigned char. Although this isn't reachable any longer
let's just nip it in the bud and use our safe AK character types.

Just to demonstrate, the following returns different values for me on
different systems and with different compilers:

    isdigit(0xff01)
    isalpha(0xff01)
    isspace(0xff01)
2026-05-22 17:30:36 +02:00
..
LibCompress LibCompress: Treat LZW decoding errors as end of stream 2026-04-29 20:28:15 +02:00
LibCore LibCore: Keep ICU and libc time zones in sync 2026-05-20 07:26:23 -04:00
LibCrypto LibCrypto: Support EC compressed point format (0x02/0x03) 2026-05-12 13:58:38 +02:00
LibDatabase Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibDevTools AK+Everywhere: Add and use weak_callback() 2026-02-26 08:03:50 -05:00
LibDiff CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
LibDNS LibThreading/LibSync: Split out sync primitives 2026-05-08 18:58:35 -05:00
LibFileSystem LibFileSystem: Preserve copy flags when recursing into directories 2026-04-13 12:00:52 +02:00
LibGC LibGC: Introduce ConservativeHashMap 2026-05-21 18:29:41 +02:00
LibGfx LibIPC+LibGfx: Add IPC serialization for typefaces 2026-05-21 11:45:06 +01:00
LibHTTP LibHTTP: Publish disk cache entries by rename 2026-05-16 08:13:35 +02:00
LibIDL LibWeb+LibIDL: Define CSSOMString as a DOMString typedef 2026-05-19 15:33:18 +02:00
LibImageDecoderClient LibImageDecoderClient: Remove sync id fetch from async decode request 2026-02-28 00:04:06 -06:00
LibIPC LibIPC+LibGfx: Add IPC serialization for typefaces 2026-05-21 11:45:06 +01:00
LibJS LibJS: Protect DateParser from non-ASCII input 2026-05-22 17:30:36 +02:00
LibLine LibCore: Remove unused header in EventLoop 2026-02-21 19:27:35 +01:00
LibMain AK: Expose helpers to invoke Windows runtime config directly in main() 2025-10-29 21:07:52 -06:00
LibMedia LibMedia: Implement suspension at the decoded data providers 2026-05-22 09:30:10 -05:00
LibRegex LibRegex: Link libregex_rust before LibUnicode 2026-05-18 17:42:35 +02:00
LibRequests RequestServer: Send bytecode cache sidecars as files 2026-05-16 08:13:35 +02:00
LibSync LibSync: Implement ConditionVariable::wait_for(Duration) 2026-05-22 09:30:10 -05:00
LibSyntax LibSyntax: Include RefCounted in Document.h 2026-01-23 09:20:15 +01:00
LibTest LibGC: Defer per-block madvise to a global background worker 2026-05-07 20:09:05 +02:00
LibTextCodec LibTextCodec: Stop buffering invalid UTF-8 tails 2026-05-18 14:08:22 +02:00
LibThreading LibThreading/LibSync: Split out sync primitives 2026-05-08 18:58:35 -05:00
LibTLS Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibUnicode LibUnicode: Update icu4x's calendar module to 2.2.1 2026-05-06 09:02:21 -04:00
LibURL LibURL: Give resource:// URLs a tuple origin 2026-04-30 07:46:12 +02:00
LibWasm LibWasm: Store try_table catches out of line 2026-05-14 12:19:38 +02:00
LibWeb LibWeb: Avoid a crash in Selection.containsNode() with a detached range 2026-05-22 16:39:25 +02:00
LibWebSocket LibWebSocket: Time out stalled close handshakes 2026-05-05 19:14:29 +02:00
LibWebView LibWebView: Share content blocker lists as buffers 2026-05-21 21:16:56 +02:00
LibXML Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
CMakeLists.txt LibThreading/LibSync: Split out sync primitives 2026-05-08 18:58:35 -05:00
RustAllocator.rs LibJS: Add negative tests for the bytecode validator 2026-05-03 08:43:19 +02:00