Hanno Becker
d96e10bf23
Check architectural bound for max record payload len in one place
...
The previous code performed architectural maximum record length checks
both before and after record decryption. Since MBEDTLS_SSL_IN_CONTENT_LEN
bounds the maximum length of the record plaintext, it suffices to check
only once after (potential) decryption.
This must not be confused with the internal check that the record
length is small enough to make the record fit into the internal input
buffer; this is done in mbedtls_ssl_fetch_input().
2019-08-14 14:31:58 +01:00
..
2019-02-19 17:59:57 +00:00
2018-04-05 15:37:38 +02:00
2018-04-17 10:00:21 -05:00
2019-01-31 08:20:20 -05:00
2018-04-17 10:00:21 -05:00
2019-02-28 09:36:30 +00:00
2017-02-15 23:31:07 +02:00
2019-04-05 14:08:49 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-04-24 11:17:21 +01:00
2019-07-14 09:17:57 +03:00
2019-02-19 17:59:00 +00:00
2019-01-31 08:20:20 -05:00
2019-04-02 10:07:28 -07:00
2019-04-02 10:07:28 -07:00
2018-06-27 10:51:47 +01:00
2019-06-25 13:33:51 +01:00
2019-01-31 08:20:20 -05:00
2019-03-05 16:27:38 +00:00
2019-02-19 17:59:00 +00:00
2019-06-03 17:46:56 +01:00
2019-02-26 16:49:52 +00:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-19 17:59:00 +00:00
2019-04-24 11:17:21 +01:00
2019-01-31 08:20:20 -05:00
2018-04-17 10:00:21 -05:00
2019-06-03 16:07:50 +01:00
2019-01-31 08:20:20 -05:00
2019-02-19 17:59:00 +00:00
2018-07-23 10:34:47 -07:00
2019-01-31 08:20:20 -05:00
2019-07-02 20:05:16 +02:00
2018-04-17 10:00:21 -05:00
2019-02-19 17:59:57 +00:00
2019-02-19 17:59:57 +00:00
2018-01-22 11:54:42 +01:00
2018-04-17 10:00:21 -05:00
2018-06-12 16:56:04 +01:00
2019-06-20 10:48:11 +01:00
2019-01-31 08:20:20 -05:00
2019-05-06 12:15:17 -04:00
2019-01-31 08:20:20 -05:00
2019-01-29 08:26:15 +00:00
2019-02-05 05:09:05 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-05 06:02:51 -05:00
2019-01-31 08:20:20 -05:00
2019-01-30 13:24:55 +00:00
2019-02-19 17:59:00 +00:00
2019-02-19 17:59:00 +00:00
2018-10-09 16:36:53 +01:00
2019-02-11 03:39:51 -05:00
2019-02-19 17:59:57 +00:00
2019-02-19 17:59:57 +00:00
2019-02-19 17:59:57 +00:00
2019-02-26 14:38:09 +00:00
2019-03-01 10:19:27 +01:00
2019-06-03 16:07:50 +01:00
2018-04-17 10:00:21 -05:00
2019-06-03 16:07:50 +01:00
2019-02-26 14:38:09 +00:00
2019-08-14 14:31:58 +01:00
2018-09-06 12:09:56 +01:00
2019-06-20 10:51:21 +01:00
2019-08-06 11:25:45 +03:00
2016-11-04 23:05:56 +01:00
2018-11-02 10:52:38 +00:00
2019-06-04 13:59:48 +01:00
2019-06-24 09:17:18 -04:00
2019-01-31 08:20:20 -05:00
2019-06-04 13:59:55 +01:00
2019-05-04 08:13:23 +01:00
2019-02-28 09:36:30 +00:00
2018-04-17 10:00:21 -05:00