mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 16:42:19 +02:00
A malicious peer could send a message declaring an IPC::File parameter without actually including the file descriptor. This would cause Queue::dequeue() to crash via VERIFY(!is_empty()). Use try_dequeue() instead, which returns an error that propagates up through the decode chain, ultimately disconnecting the misbehaving peer.
1.4 KiB
1.4 KiB