1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00
serenity/Userland/Libraries/LibWeb/Fetch
Linus Groh 6bce48e99b LibWeb: Fix UAF in convert_header_names_to_a_sorted_lowercase_set()
We can't keep a span (ReadonlyBytes) to a move()'d ByteBuffer
in the header_names_seen HashTable - copy the original name span instead
which works the same thanks to CaseInsensitiveBytesTraits.

This would sporadically fail the contains() check due to garbage data,
later leading to a VERIFY() crash in the OrderedHashTable append loop.
2023-02-11 13:14:26 +00:00
..
Fetching LibWeb/Fetch: Implement CORS preflight 2023-02-10 22:18:19 +00:00
Infrastructure LibWeb: Fix UAF in convert_header_names_to_a_sorted_lowercase_set() 2023-02-11 13:14:26 +00:00
Body.cpp LibJS+LibWeb: Convert empty PrimitiveString invocators to String 2023-01-22 01:03:13 +00:00
Body.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
Body.idl LibWeb: Implement '5.3. Body mixin' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
BodyInit.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
BodyInit.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
BodyInit.idl LibWeb: Remove workaround for nested BodyInit IDL union type 2022-10-21 12:11:24 +02:00
Enums.cpp LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Enums.h LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
FetchMethod.cpp LibJS: Add make_handle({Nonnull,}GCPtr<T>) overloads 2022-12-15 06:56:37 -05:00
FetchMethod.h LibWeb: Implement the fetch() method :^) 2022-10-30 20:10:29 +00:00
Headers.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Headers.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
Headers.idl LibWeb: Implement '5.1. Headers class' from the Fetch API :^) 2022-07-19 00:27:35 +01:00
HeadersIterator.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
HeadersIterator.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
Request.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Request.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
Request.idl LibWeb/Fetch: Add duplex property to Request 2022-10-15 12:15:31 +02:00
Response.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Response.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
Response.idl LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00