ladybird/Kernel/Net
Andreas Kling da981578e3 Kernel: Don't use a VLA for outgoing TCP packets
Since the payload size is user-controlled, this could be used to
overflow the kernel stack.

We should probably also be breaking things into smaller packets at a
higher level, e.g TCPSocket::protocol_send(), but let's do that as
a separate exercise.

Fixes #5310.
2021-02-12 23:00:25 +01:00
..
ARP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
E1000NetworkAdapter.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
E1000NetworkAdapter.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
EthernetFrameHeader.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
EtherType.h
ICMP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
IPv4.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
IPv4Socket.cpp Kernel: Convert all *Builder::appendf() => appendff() 2021-02-09 19:18:13 +01:00
IPv4Socket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
IPv4SocketTuple.h
LocalSocket.cpp Kernel: Convert all *Builder::appendf() => appendff() 2021-02-09 19:18:13 +01:00
LocalSocket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
LoopbackAdapter.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-11 11:55:47 +01:00
LoopbackAdapter.h
NE2000NetworkAdapter.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
NE2000NetworkAdapter.h Kernel: Add NE2000 network card driver 2021-02-05 09:35:02 +01:00
NetworkAdapter.cpp Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
NetworkAdapter.h Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
NetworkTask.cpp Kernel: Hold less locks when receiving ICMP packets 2021-02-12 15:37:28 +01:00
NetworkTask.h
Routing.cpp Meta: Split debug defines into multiple headers. 2021-01-26 21:20:00 +01:00
Routing.h
RTL8139NetworkAdapter.cpp Meta: Split debug defines into multiple headers. 2021-01-26 21:20:00 +01:00
RTL8139NetworkAdapter.h
Socket.cpp Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...) 2021-02-08 18:08:55 +01:00
Socket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
TCP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
TCPSocket.cpp Kernel: Don't use a VLA for outgoing TCP packets 2021-02-12 23:00:25 +01:00
TCPSocket.h Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
UDP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
UDPSocket.cpp Kernel: Use KResult a bit more in the IPv4 networking code 2021-01-31 12:13:16 +01:00
UDPSocket.h