Ben Wiederhake
e682967d7e
LibCore: Prefer strlcpy over strncpy, fix overflow
...
A malicious caller can create a SocketAddress for a local unix socket with an
over-long name that does not fit into struct sock_addr_un.
- Socket::connet: This caused the 'sun_path' field to
overflow, probably overwriting the return pointer of the call frame, and thus
crashing the process (in the best case).
- SocketAddress::to_sockaddr_un: This triggered a RELEASE_ASSERT, and thus
crashing the process.
Both have been fixed to return a nice error code instead of crashing.
2020-08-24 00:45:03 +02:00
..
2020-08-12 13:57:06 +02:00
2020-08-12 13:57:06 +02:00
2020-07-29 14:41:57 +02:00
2020-08-18 12:07:32 +02:00
2020-08-18 12:07:32 +02:00
2020-08-22 11:54:30 +02:00
2020-08-20 20:53:43 +02:00
2020-05-06 19:28:59 +02:00
2020-03-08 13:06:51 +01:00
2020-03-19 15:48:00 +01:00
2020-02-06 15:04:03 +01:00
2020-02-06 15:04:03 +01:00
2020-02-14 23:31:18 +01:00
2020-07-09 21:58:07 +02:00
2020-07-09 21:58:07 +02:00
2020-08-21 12:26:30 +02:00
2020-08-21 12:26:30 +02:00
2020-06-11 22:44:54 +02:00
2020-07-28 17:07:22 +02:00
2020-07-28 17:07:22 +02:00
2020-04-28 09:32:33 +02:00
2020-05-29 07:59:45 +02:00
2020-05-15 09:50:48 +02:00
2020-05-15 09:50:48 +02:00
2020-02-06 15:04:03 +01:00
2020-08-24 00:45:03 +02:00
2020-02-15 00:32:33 +01:00
2020-06-22 21:21:38 +02:00
2020-06-21 21:54:30 +02:00
2020-07-27 19:57:20 +02:00
2020-07-27 19:57:20 +02:00
2020-05-03 12:59:26 +02:00
2020-05-03 12:59:26 +02:00
2020-02-06 15:04:03 +01:00
2020-02-06 15:04:03 +01:00
2020-02-14 23:31:18 +01:00
2020-02-06 15:04:03 +01:00
2020-07-16 20:46:44 +02:00
2020-07-26 17:51:00 +02:00
2020-07-01 12:07:01 +02:00
2020-08-10 11:51:45 +02:00
2020-07-29 14:41:57 +02:00
2020-05-29 07:59:45 +02:00
2020-08-24 00:45:03 +02:00
2020-07-27 19:58:09 +02:00
2020-02-15 00:58:52 +01:00
2020-08-24 00:45:03 +02:00
2020-08-05 17:40:47 +02:00
2020-08-05 17:40:47 +02:00
2020-06-22 21:19:10 +02:00
2020-08-09 21:10:01 +02:00
2020-02-15 00:32:33 +01:00
2020-05-23 15:31:30 +02:00
2020-02-15 00:32:33 +01:00
2020-06-11 22:35:37 +02:00
2020-06-11 22:35:37 +02:00
2020-08-10 20:03:18 +02:00
2020-04-04 12:25:33 +02:00
2020-08-10 20:03:18 +02:00
2020-08-10 20:03:18 +02:00