Leonid Rozenboim
19e5973566
mbedtls_ssl_check_curve prevent potential NULL pointer dereferencing
...
Avoid the shorthand practice of the form 'x = func(foo)->bar' which
exposes the code to NULL pointer de-referencing when the 'func()'
returns a NULL pointer.
The first chunk is for when the curve group code is not recognized by
the library, and is cleanly rejected if offered.
The second chunk addresses the unlikely case of an internal error:
if 'mbedtls_pk_can_do()' returns TRUE, it should rule out
'mbedtls_pk_ec()' returning a NULL, unless there is a regression.
Signed-off-by: Leonid Rozenboim <leonid.rozenboim@oracle.com>
2022-08-19 11:49:22 -07:00
..
2021-12-18 13:29:10 +05:30
2022-06-29 16:17:50 +01:00
2022-06-29 16:17:50 +01:00
2022-06-10 20:13:33 +02:00
2021-11-26 17:20:02 +01:00
2022-04-11 13:44:15 +01:00
2022-07-28 05:50:56 +01:00
2022-08-18 08:48:03 +01:00
2022-05-18 14:15:33 -04:00
2022-01-03 12:53:24 +01:00
2022-05-06 10:55:10 +02:00
2022-07-28 10:43:38 +02:00
2022-05-19 18:23:24 +01:00
2021-11-26 17:25:14 +01:00
2022-06-01 11:42:51 +02:00
2022-07-04 10:12:22 +01:00
2022-06-30 17:03:40 +02:00
2022-07-27 14:43:38 +01:00
2022-07-27 14:28:20 +01:00
2022-07-27 15:20:08 +01:00
2022-05-06 18:43:58 +02:00
2022-07-28 10:31:16 +01:00
2022-06-30 17:03:40 +02:00
2022-06-30 17:03:40 +02:00
2022-05-13 18:08:11 +01:00
2022-08-11 12:50:06 +02:00
2022-08-11 12:50:06 +02:00
2022-06-30 17:03:40 +02:00
2022-08-11 12:50:06 +02:00
2022-08-12 11:02:01 +01:00
2022-06-30 17:03:40 +02:00
2022-05-11 21:25:51 +01:00
2022-05-18 14:15:33 -04:00
2021-12-10 13:47:55 +01:00
2021-12-10 13:47:55 +01:00
2022-03-04 05:07:45 -05:00
2021-11-24 10:44:13 +01:00
2022-07-21 12:11:53 +02:00
2022-07-05 11:55:15 +01:00
2022-07-29 12:59:05 +01:00
2022-05-04 11:02:37 +02:00
2022-07-18 21:28:38 +02:00
2022-05-13 18:08:11 +01:00
2022-07-11 10:22:37 +02:00
2022-04-07 15:01:24 +02:00
2022-03-01 10:03:21 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2021-12-09 14:49:42 +01:00
2022-05-11 21:25:51 +01:00
2022-08-02 12:44:35 +02:00
2021-12-14 10:58:18 +01:00
2022-03-10 20:07:38 +01:00
2022-07-18 21:28:38 +02:00
2021-12-06 07:50:27 +01:00
2022-07-18 21:28:38 +02:00
2022-07-18 21:28:38 +02:00
2021-12-06 07:50:27 +01:00
2021-12-06 07:50:27 +01:00
2022-07-18 21:28:38 +02:00
2022-01-10 12:55:06 +01:00
2022-02-25 11:14:59 +01:00
2022-06-20 15:27:46 +02:00
2022-06-30 17:03:40 +02:00
2022-08-11 12:50:06 +02:00
2022-04-19 13:52:24 +01:00
2022-04-19 13:52:24 +01:00
2022-07-11 10:22:37 +02:00
2022-07-18 21:28:38 +02:00
2022-07-21 15:30:04 +02:00
2022-06-20 21:12:55 +02:00
2022-07-18 21:28:38 +02:00
2022-05-09 15:49:00 +08:00
2022-07-28 23:08:00 +08:00
2022-07-20 11:07:29 +08:00
2022-06-20 21:12:52 +02:00
2022-08-09 10:21:45 +01:00
2022-07-26 16:13:03 +01:00
2022-07-26 16:13:23 +01:00
2022-07-28 23:08:00 +08:00
2022-07-11 10:22:37 +02:00
2022-07-28 10:43:38 +02:00
2022-06-20 21:12:55 +02:00
2022-07-26 16:13:23 +01:00
2022-08-19 11:49:22 -07:00
2022-03-29 17:43:56 +02:00
2022-04-08 04:41:42 -04:00
2022-03-04 05:07:45 -05:00
2022-08-03 13:05:29 +02:00
2022-06-29 10:18:41 +02:00
2022-07-18 21:28:38 +02:00
2022-07-18 21:28:38 +02:00