Neil Horman
86fd4c1df9
Fix Coverity-1604641
...
Coverity flagged an overflow warning here that can occur if BIO_write
returns an error.
The overflow itself is a bit of a non-issue, but if BIO_write returns
< 0, then the return from i2a_ASN1_OBJECT will be some odd value
representing whatever the offset from the error code to the number of
bytes the dump may or may not have written (or some larger negative
error code if both fail.
So lets fix it. Only do the dump if the BIO_write call returned 0 or
greaater.
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/24976 )
2024-07-25 14:23:39 -04:00
..
2024-05-30 18:46:43 +02:00
2024-07-25 14:23:39 -04:00
2024-04-04 08:45:13 +02:00
2023-01-31 11:10:22 +11:00
2024-07-22 06:55:35 -04:00
2024-07-22 06:55:35 -04:00
2022-10-05 14:02:03 +02:00
2024-04-17 09:38:06 +02:00
2023-09-07 09:59:15 +01:00
2024-05-08 11:10:45 +02:00
2024-04-09 13:43:26 +02:00
2024-07-22 06:55:35 -04:00
2024-07-22 06:55:35 -04:00
2023-09-07 09:59:15 +01:00
2024-07-16 21:32:40 +02:00
2024-06-20 13:38:13 +02:00
2022-10-05 14:02:03 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2024-07-12 11:20:23 +02:00
2024-04-09 13:43:26 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2024-07-09 04:01:44 -04:00
2024-06-21 15:40:45 -04:00
2024-04-30 09:21:30 +02:00
2024-07-22 06:55:35 -04:00
2024-05-13 11:14:11 +02:00
2024-07-03 09:07:21 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-12-27 10:15:29 +01:00
2023-01-31 11:10:22 +11:00
2024-04-17 09:38:06 +02:00
2024-05-13 11:10:35 +02:00
2023-09-07 09:59:15 +01:00
2024-07-22 06:55:35 -04:00
2024-06-26 12:03:45 +02:00
2024-07-17 16:34:53 +02:00
2024-07-22 06:55:35 -04:00
2024-04-17 09:41:14 +02:00
2024-07-16 06:05:14 -04:00
2023-11-03 21:08:22 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-01-31 11:10:22 +11:00
2024-07-22 06:55:35 -04:00
2023-01-31 11:10:22 +11:00
2024-07-22 06:55:35 -04:00
2022-10-12 16:55:01 +11:00
2024-05-15 11:17:14 +02:00
2024-07-12 11:09:02 +01:00
2024-07-22 06:55:35 -04:00
2023-09-28 14:23:29 +01:00
2024-04-09 13:43:26 +02:00
2024-07-22 06:55:35 -04:00
2023-09-07 09:59:15 +01:00
2024-07-10 09:39:53 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-17 09:38:06 +02:00
2024-07-24 16:14:17 -04:00
2024-04-09 13:43:26 +02:00
2024-04-09 13:43:26 +02:00
2023-09-07 09:59:15 +01:00
2024-07-11 08:29:43 +10:00
2024-05-28 08:56:13 +02:00
2024-07-11 08:29:43 +10:00
2022-10-05 14:02:03 +02:00
2022-07-20 07:28:17 +01:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-07-09 04:01:44 -04:00
2024-07-09 04:01:44 -04:00
2024-05-02 09:21:30 +02:00
2023-09-21 14:43:08 +02:00
2024-07-11 08:29:43 +10:00
2024-07-09 04:01:44 -04:00
2024-04-09 13:43:26 +02:00
2023-10-26 15:45:41 +01:00
2023-12-19 18:34:34 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-07-22 06:55:35 -04:00
2024-04-24 12:03:30 +10:00
2024-07-12 11:23:56 +01:00
2024-07-18 19:07:52 +02:00
2023-09-07 09:59:15 +01:00
2023-10-18 18:07:13 +02:00
2023-12-29 10:21:10 +01:00
2022-10-05 14:02:03 +02:00
2024-04-09 13:43:26 +02:00
2023-06-02 15:13:20 +10:00
2024-05-30 18:38:12 +02:00
2022-10-05 14:02:03 +02:00
2023-09-07 09:59:15 +01:00
2023-12-27 09:32:48 +01:00
2024-07-11 08:29:43 +10:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-01-13 13:20:16 +00:00
2024-04-09 13:43:26 +02:00
2024-05-10 17:02:49 +02:00
2023-10-26 15:55:49 +01:00
2024-05-14 15:24:26 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-07-22 06:55:35 -04:00
2024-05-22 09:59:32 +02:00
2024-04-04 08:34:17 +02:00
2022-11-14 07:47:53 +00:00
2024-07-01 10:02:02 +02:00
2024-07-17 16:37:07 +02:00
2024-07-17 16:37:07 +02:00
2023-09-07 09:59:15 +01:00
2023-09-11 10:15:30 +02:00
2023-09-07 09:59:15 +01:00