Tobias Frauenschläger
845a3a93b5
F-6345 - Reject oversized length in memory BIO write
...
wolfSSL_BIO_write rejected negative lengths but allowed a large positive
length through to wolfSSL_BIO_MEMORY_write. On a fresh buffer an INT_MAX
length overflowed the 4/3 buffer growth calculation, so the grow reported
success with a short allocation and the following copy read far past the
small source buffer.
Add an upper bound check that rejects lengths large enough to overflow the
growth math before any allocation or copy, and add a regression test that
drives a huge length through the public BIO_write entry point.
2026-07-02 11:36:01 +02:00
..
2026-02-18 09:52:21 -07:00
2026-05-13 16:32:54 -06:00
2026-06-02 16:20:37 -06:00
2026-06-10 09:11:59 +10:00
2026-06-11 15:38:28 -05:00
2026-05-12 20:59:29 +00:00
2026-06-10 11:36:29 +02:00
2026-06-10 11:36:29 +02:00
2026-02-18 09:52:21 -07:00
2026-05-11 21:07:53 -07:00
2026-04-15 17:05:32 +10:00
2026-07-01 17:49:37 -05:00
2026-06-17 19:14:21 +02:00
2026-04-07 13:18:53 -05:00
2026-02-18 09:52:21 -07:00
2026-07-02 11:36:01 +02:00
2026-07-02 11:36:01 +02:00
2026-07-01 17:52:20 -05:00
2026-06-18 14:52:08 -06:00
2026-05-12 20:59:29 +00:00
2026-05-12 20:59:29 +00:00
2026-04-15 17:05:32 +10:00
2026-04-15 17:05:32 +10:00
2026-05-14 15:19:56 -07:00
2026-02-18 09:52:21 -07:00
2026-05-13 17:02:08 -07:00
2026-05-13 17:02:08 -07:00
2026-07-01 15:21:04 +02:00
2026-06-01 09:14:57 +10:00
2026-06-10 11:36:59 +02:00
2026-06-10 11:36:59 +02:00
2026-07-01 08:26:23 -06:00
2026-06-10 01:28:12 -05:00
2026-02-18 09:52:21 -07:00
2026-06-12 00:12:45 -05:00
2026-05-11 10:05:45 -07:00
2026-07-01 17:59:19 -05:00
2026-06-18 13:46:08 +02:00
2026-07-01 17:59:19 -05:00
2026-06-10 09:11:59 +10:00
2026-06-18 00:48:26 -06:00
2026-06-16 20:56:45 +02:00
2026-06-12 15:58:27 -04:00
2026-05-28 19:53:19 +02:00
2026-06-12 15:58:27 -04:00
2026-05-28 19:53:19 +02:00
2026-06-04 17:26:48 -05:00
2026-03-05 08:51:52 -06:00
2026-05-06 15:25:06 -06:00
2026-02-18 09:52:21 -07:00
2026-06-04 18:29:24 +10:00
2026-05-28 14:40:36 +00:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-24 06:52:49 -06:00
2026-02-18 09:52:21 -07:00
2026-06-12 00:12:45 -05:00
2026-02-26 10:26:20 -06:00
2026-06-25 14:44:03 -06:00
2026-06-10 10:51:33 +02:00
2026-05-13 11:36:36 -06:00
2026-02-18 09:52:21 -07:00
2026-05-13 11:36:36 -06:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-04 18:29:24 +10:00
2026-05-28 19:34:09 +10:00
2026-05-28 19:34:09 +10:00
2026-05-12 20:59:29 +00:00
2026-05-12 20:59:29 +00:00
2026-06-26 14:44:16 -06:00
2026-06-05 16:27:00 -05:00
2026-06-05 16:27:00 -05:00
2026-06-26 14:44:16 -06:00
2026-02-18 09:52:21 -07:00
2026-07-02 11:36:01 +02:00
2026-07-02 11:36:01 +02:00
2026-04-13 15:50:26 +02:00
2026-02-18 09:52:21 -07:00
2026-06-10 11:36:29 +02:00
2026-05-07 02:33:58 +00:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-06 00:53:57 -05:00
2026-02-18 09:52:21 -07:00
2026-05-27 15:38:30 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-26 14:44:16 -06:00
2026-06-16 20:19:22 +02:00
2026-06-25 14:44:03 -06:00
2026-05-22 19:24:53 +03:00
2026-05-14 16:59:12 +00:00
2026-05-14 16:59:12 +00:00
2026-06-08 14:21:53 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-26 14:44:16 -06:00
2026-05-22 14:56:14 -06:00
2026-06-15 12:10:40 +02:00
2026-06-01 09:57:19 +10:00
2026-06-26 14:44:16 -06:00
2026-02-18 09:52:21 -07:00
2026-06-04 10:38:37 -07:00
2026-06-04 10:38:37 -07:00
2026-04-28 10:06:47 +00:00
2026-04-28 10:06:47 +00:00
2026-06-26 14:44:16 -06:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-18 08:20:33 -06:00
2026-06-16 20:31:36 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-07-01 17:52:20 -05:00
2026-06-26 11:11:22 -05:00
2026-06-26 14:44:16 -06:00
2026-06-08 09:26:29 -05:00
2026-06-01 14:23:38 -05:00
2026-04-15 03:08:50 +02:00
2026-04-10 15:43:21 +10:00
2026-04-10 15:43:21 +10:00
2026-06-01 14:23:38 -05:00
2026-05-20 07:25:35 -07:00
2026-06-04 15:30:39 +09:00
2026-06-04 09:08:24 +09:00
2026-07-02 11:36:01 +02:00
2026-07-02 11:36:01 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-25 08:16:06 -06:00
2026-05-27 15:57:00 -07:00
2026-05-28 19:34:09 +10:00
2026-05-28 19:34:09 +10:00
2026-06-22 13:35:37 -06:00
2026-06-22 13:35:37 -06:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-06-04 20:21:50 +02:00
2026-06-04 20:21:50 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-15 18:03:39 -06:00
2026-04-15 11:28:03 -06:00
2026-04-08 17:07:42 +09:00
2026-04-08 17:07:42 +09:00
2026-05-12 20:59:29 +00:00
2026-05-11 10:14:13 +02:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-02-18 09:52:21 -07:00
2026-04-14 13:25:15 +10:00
2026-04-14 13:25:15 +10:00
2026-06-10 12:05:00 -05:00
2026-06-10 09:11:59 +10:00
2026-06-25 14:44:03 -06:00
2026-06-10 09:11:59 +10:00
2026-06-10 12:05:00 -05:00
2026-06-10 09:11:59 +10:00
2026-06-30 15:51:51 +10:00
2026-06-30 15:51:51 +10:00
2026-06-26 14:44:16 -06:00
2026-06-11 15:29:51 -07:00
2026-06-26 11:49:59 -05:00
2026-06-26 11:49:59 -05:00
2026-04-10 15:43:21 +10:00
2026-04-10 15:43:21 +10:00
2026-05-11 12:09:50 -05:00
2026-02-18 09:52:21 -07:00
2026-06-04 18:29:24 +10:00
2026-04-13 17:02:51 -05:00