ladybird/Libraries/LibIPC
Andreas Kling 51ddfaafbf LibIPC: Don't apply decode size limit to AnonymousBuffer
AnonymousBuffer is backed by shared memory, not heap allocation.
The MAX_DECODED_SIZE limit in decode_size() is meant to prevent OOM
from malicious peers claiming huge sizes that would cause heap
allocations, but this doesn't apply to AnonymousBuffer since the
memory is already allocated by the sender.

This fixes decoding of large animated images (e.g. 300 frames at
240x240) where the total bitmap data exceeds 64 MiB.
2026-01-24 15:23:02 +01:00
..
AutoCloseFileDescriptor.cpp Everywhere: Remove LibCore/System.h includes from header files 2025-12-04 15:40:46 +00:00
AutoCloseFileDescriptor.h Everywhere: Remove LibCore/System.h includes from header files 2025-12-04 15:40:46 +00:00
CMakeLists.txt Everywhere: Remove LibCore/System.h includes from header files 2025-12-04 15:40:46 +00:00
Concepts.h LibIPC: Add a generic encoder for spans 2025-03-09 11:14:20 -04:00
Connection.cpp LibIPC: Use TRY instead of MUST in post_message() 2026-01-22 17:38:15 +01:00
Connection.h LibIPC: Simplify IPC read hook 2025-10-21 09:31:22 +02:00
ConnectionFromClient.h LibIPC: Simplify IPC read hook 2025-10-21 09:31:22 +02:00
ConnectionToServer.h Everywhere: Make TransportSocket non-movable 2025-04-09 15:27:52 +02:00
Decoder.cpp LibIPC: Don't apply decode size limit to AnonymousBuffer 2026-01-24 15:23:02 +01:00
Decoder.h LibIPC: Add additional validation for decoded values 2026-01-22 17:38:15 +01:00
Encoder.cpp LibIPC: Add VERIFY assertions to catch encoding bugs 2026-01-22 17:38:15 +01:00
Encoder.h AK+LibURL: Use AK::IPv4/6 in Host 2025-12-31 10:24:56 +01:00
File.cpp LibIPC: Use try_dequeue() when decoding IPC::File 2026-01-22 17:38:15 +01:00
File.h Everywhere: Remove LibCore/System.h includes from header files 2025-12-04 15:40:46 +00:00
FileWindows.cpp LibIPC: Add missing include and impl on win32 2025-12-05 07:07:52 -05:00
Forward.h LibIPC: Add some type aliases and MessageBuffer helpers 2025-07-18 10:09:02 -04:00
HandleType.h LibIPC: Port to Windows 2025-02-12 22:31:43 -07:00
Limits.h LibIPC: Move IPC message limits to a shared Limits.h header 2026-01-22 17:38:15 +01:00
Message.cpp LibIPC: VERIFY message limits when encoding outgoing messages 2026-01-22 17:38:15 +01:00
Message.h LibIPC: Add some type aliases and MessageBuffer helpers 2025-07-18 10:09:02 -04:00
MessageWindows.cpp LibIPC: Add missing include and impl on win32 2025-12-05 07:07:52 -05:00
MultiServer.h Everywhere: Make TransportSocket non-movable 2025-04-09 15:27:52 +02:00
SingleServer.h Everywhere: Remove LibCore/System.h includes from header files 2025-12-04 15:40:46 +00:00
Stub.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Transport.h LibIPC: Port to Windows 2025-02-12 22:31:43 -07:00
TransportSocket.cpp LibIPC: Move IPC message limits to a shared Limits.h header 2026-01-22 17:38:15 +01:00
TransportSocket.h LibIPC: Change TransportSocket to read and write on I/O thread 2025-11-02 22:43:10 +01:00
TransportSocketWindows.cpp LibIPC: Move IPC message limits to a shared Limits.h header 2026-01-22 17:38:15 +01:00
TransportSocketWindows.h LibWeb: Enable in Windows CI 2025-06-30 10:50:36 -06:00