ladybird/Kernel/Net
Andreas Kling 3164e22f9b Kernel: Fix null dereference in IPv4Socket::receive_packet_buffered()
This was a mistake in the move away from KBuffer-as-a-value type.
We need to check `packet` here, not `packet->data`.

Regressed in b300f9aa2f.

Fixes #9888.
2021-09-10 03:06:32 +02:00
..
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
E1000ENetworkAdapter.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
E1000ENetworkAdapter.h Kernel: Rename PCI::DeviceController => PCI::Device 2021-08-23 01:07:45 +02:00
E1000NetworkAdapter.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
E1000NetworkAdapter.h Kernel: Rename PCI::DeviceController => PCI::Device 2021-08-23 01:07:45 +02:00
EthernetFrameHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
IPv4.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
IPv4Socket.cpp Kernel: Fix null dereference in IPv4Socket::receive_packet_buffered() 2021-09-10 03:06:32 +02:00
IPv4Socket.h Kernel: Convert KBuffer::copy() => KBuffer::try_copy() 2021-09-07 15:36:39 +02:00
IPv4SocketTuple.h Kernel: Move Mutex into Locking/ 2021-08-07 11:48:00 +02:00
LocalSocket.cpp Kernel/Net: Add a special SOCKET_TRY() and use it in socket code 2021-09-07 15:05:51 +02:00
LocalSocket.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
LoopbackAdapter.cpp Kernel: LoopbackAdapter::create() => try_create() 2021-07-11 18:00:31 +02:00
LoopbackAdapter.h Kernel: Add interface to read link speed and duplex for NetworkAdapter 2021-08-03 10:20:51 +02:00
NE2000NetworkAdapter.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
NE2000NetworkAdapter.h Kernel: Rename PCI::DeviceController => PCI::Device 2021-08-23 01:07:45 +02:00
NetworkAdapter.cpp Kernel: Make KBuffer::try_create_with_size() return KResultOr 2021-09-07 15:15:08 +02:00
NetworkAdapter.h Kernel: Add KBuffer::bytes() and use it 2021-09-08 20:16:00 +02:00
NetworkingManagement.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
NetworkingManagement.h Kernel: Rename Kernel/VM/ to Kernel/Memory/ 2021-08-06 14:05:58 +02:00
NetworkTask.cpp Kernel: Make TCPSocket client construction use KResultOr and TRY() 2021-09-07 14:44:29 +02:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Improve names in the ARP table thread blocker 2021-09-05 01:10:56 +02:00
Routing.h Kernel: Convert Routing to east-const style 2021-09-03 23:18:50 +02:00
RTL8139NetworkAdapter.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
RTL8139NetworkAdapter.h Kernel: Rename PCI::DeviceController => PCI::Device 2021-08-23 01:07:45 +02:00
RTL8168NetworkAdapter.cpp Kernel/PCI: Simplify the entire subsystem 2021-09-07 13:47:37 +02:00
RTL8168NetworkAdapter.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
Socket.cpp Kernel: Use TRY() some more in Socket 2021-09-07 14:55:44 +02:00
Socket.h Kernel/Net: Add a special SOCKET_TRY() and use it in socket code 2021-09-07 15:05:51 +02:00
TCP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
TCPSocket.cpp Kernel: Make KBuffer::try_create_with_size() return KResultOr 2021-09-07 15:15:08 +02:00
TCPSocket.h Kernel: TCPSocket always has a scratch buffer 2021-09-07 15:11:49 +02:00
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel/Net: Add a special SOCKET_TRY() and use it in socket code 2021-09-07 15:05:51 +02:00
UDPSocket.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00