[openssl/openssl] 568085: OPENSSL_hexstr2buf_ex(): Handle zero-length input ...
Tomáš Mráz
noreply at github.com
Tue Jul 2 18:16:00 UTC 2024
Branch: refs/heads/openssl-3.3
Home: https://github.com/openssl/openssl
Commit: 568085f637ee29a5cdd09228fd94b255bb7f1c5c
https://github.com/openssl/openssl/commit/568085f637ee29a5cdd09228fd94b255bb7f1c5c
Author: Tomas Mraz <tomas at openssl.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M crypto/o_str.c
M test/hexstr_test.c
Log Message:
-----------
OPENSSL_hexstr2buf_ex(): Handle zero-length input correctly
In case of zero-length input the code wrote one byte
before the start of the output buffer. The length
of the output was also reported incorrectly in this case.
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24770)
(cherry picked from commit 3f7b355733407cf777bfad5ce5b79610588bacc5)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list