1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:47:36 +00:00
serenity/Kernel/Net
Ben Wiederhake b374dd03bd Kernel: Prevent inconsistent state after invalid read
copy_from_user can fail, for example when the user-supplied pointer is just before
the end of mapped address space. In that case, the first few bytes would get copied,
permanently overwriting the internal state of the Socket, potentially leaving it
in an inconsistent or at least difficult-to-predict state.
2021-03-02 08:36:08 +01:00
..
ARP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
E1000NetworkAdapter.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
E1000NetworkAdapter.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
EthernetFrameHeader.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
EtherType.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ICMP.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
IPv4.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
IPv4Socket.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
IPv4Socket.h Kernel: Improve ProcFS behavior in low memory conditions 2021-01-03 22:12:19 +01:00
IPv4SocketTuple.h SinglyLinkedList: Remove unused includes 2020-10-08 09:54:41 +02:00
LocalSocket.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +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 Kernel: Switch singletons to use new Singleton class 2020-08-25 09:48:48 +02:00
NE2000NetworkAdapter.cpp Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions 2021-02-19 21:42:18 +01:00
NE2000NetworkAdapter.h Kernel: Add NE2000 network card driver 2021-02-05 09:35:02 +01:00
NetworkAdapter.cpp Net: use KBuffer::capacity() when checking if we can reuse buffer 2021-02-26 19:55:50 +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 Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
NetworkTask.h Kernel: Move NetworkTask startup into NetworkTask::spawn() 2020-04-09 13:31:05 +02:00
Routing.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Routing.h Kernel: Move block condition evaluation out of the Scheduler 2020-11-30 13:17:02 +01:00
RTL8139NetworkAdapter.cpp Kernel: Slap a handful more things with UNMAP_AFTER_INIT 2021-02-20 00:00:19 +01:00
RTL8139NetworkAdapter.h Kernel: Use AK::Span a bunch in the network adapter code 2020-07-28 20:19:22 +02:00
Socket.cpp Kernel: Prevent inconsistent state after invalid read 2021-03-02 08:36:08 +01:00
Socket.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
TCP.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
TCPSocket.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +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 Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
UDPSocket.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
UDPSocket.h Kernel/Net: Make IPv4Socket::protocol_receive() take a ReadonlyBytes 2020-12-18 19:22:26 +01:00