Files
ladybird/Kernel
Avery 06218a4074 IPv4: Truncate raw socket reads past buffer length
In addition to being the proper POSIX etiquette, it seems like a bad idea
for issues like the one seen in #3428 to result in a kernel crash. This patch
replaces the current behavior of failing on insufficient buffer size to truncating
SOCK_RAW messages to the buffer size. This will have to change if/when MSG_PEEK
is implemented, but for now this behavior is more compliant and logical than
just bailing.
2020-09-10 12:03:56 +02:00
..
2020-07-06 17:07:44 +02:00
2020-09-09 20:14:30 +02:00
2020-09-08 14:01:21 +02:00
2020-08-22 20:55:10 +02:00
2020-08-22 20:55:10 +02:00
2020-07-06 17:07:44 +02:00
2020-05-14 20:15:18 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-24 00:45:03 +02:00
2020-08-24 00:45:03 +02:00
2020-09-09 12:43:56 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00