Manuel Pégourié-Gonnard
6062b49d29
Fix bug in handling of DTLS client hard reconnect
...
We keep track of the current epoch and record sequence number in out_ctr,
which was overwritten when writing the record containing the
HelloVerifyRequest starting from out_buf. We can avoid that by only using the
rest of the buffer.
Using MBEDTLS_SSL_MAX_CONTENT_LEN as the buffer size is still correct, as it
was a pretty conservative value when starting from out_buf.
Note: this bug was also fixed unknowingly in 2.13 by introducing a new buffer
that holds the current value of the sequence number (including epoch), while
working on datagram packing: 198594709baa82d55bba4e5ee442ffb5ffe886b4
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-03-31 13:04:19 +02:00
..
2015-06-25 10:59:56 +02:00
2019-11-12 03:23:51 -05:00
2016-05-23 14:29:28 +01:00
2016-05-23 14:29:32 +01:00
2016-10-13 13:54:14 +01:00
2019-02-11 21:10:48 +00:00
2017-02-15 23:31:07 +02:00
2020-02-03 16:34:53 +01:00
2016-05-23 14:29:32 +01:00
2016-06-07 14:52:35 +01:00
2018-07-30 11:43:08 +03:00
2020-02-04 09:52:27 +01:00
2018-06-21 14:03:14 +03:00
2020-01-22 19:09:05 +01:00
2018-06-27 11:11:34 +01:00
2020-02-19 12:08:10 +00:00
2020-01-15 16:59:10 +00:00
2018-08-23 14:57:39 +01:00
2016-05-23 14:29:32 +01:00
2018-01-26 18:43:04 +00:00
2019-02-21 18:17:05 +01:00
2019-10-25 09:01:34 +01:00
2019-07-08 15:26:09 +02:00
2017-05-11 22:42:14 +01:00
2019-11-11 12:27:36 +00:00
2018-11-05 12:17:15 +00:00
2018-01-25 17:28:31 +00:00
2019-02-18 15:57:54 +00:00
2018-01-02 16:24:29 +01:00
2019-07-05 11:33:10 +02:00
2019-10-23 18:01:25 +02:00
2019-02-18 15:57:54 +00:00
2018-02-22 08:20:42 +00:00
2018-02-22 08:20:42 +00:00
2018-07-12 10:18:37 +02:00
2018-01-22 11:54:42 +01:00
2018-01-25 17:28:31 +00:00
2018-05-23 16:32:33 +01:00
2019-06-20 16:28:10 +01:00
2018-02-08 17:18:15 +08:00
2015-09-04 14:21:07 +02:00
2018-03-12 23:44:56 +01:00
2018-03-30 18:43:16 +02:00
2017-08-04 13:32:15 +01:00
2018-10-16 13:53:58 +01:00
2015-09-04 14:21:07 +02:00
2018-10-16 13:53:50 +01:00
2020-02-18 11:27:08 +01:00
2018-09-04 11:22:08 +02:00
2018-10-11 11:10:14 +01:00
2018-02-22 08:20:42 +00:00
2018-01-03 09:27:40 +00:00
2020-01-29 13:13:04 -05:00
2018-07-12 10:18:37 +02:00
2018-07-12 10:18:37 +02:00
2018-07-12 10:18:37 +02:00
2017-10-29 17:53:52 +02:00
2019-02-13 09:52:46 +00:00
2018-10-10 15:50:05 +01:00
2017-03-02 12:26:11 +00:00
2019-02-18 15:57:54 +00:00
2018-10-26 10:08:29 +01:00
2020-03-31 13:04:19 +02:00
2018-03-21 15:13:08 +00:00
2019-06-20 16:28:10 +01:00
2019-02-13 09:52:46 +00:00
2015-09-04 14:21:07 +02:00
2015-10-21 12:50:45 +02:00
2019-06-04 14:03:27 +01:00
2020-02-04 14:47:45 +00:00
2018-12-05 23:23:39 +00:00
2019-06-21 15:55:21 +01:00
2019-06-06 13:06:46 +02:00
2020-01-22 19:06:32 +01:00
2015-09-04 14:21:07 +02:00