[openssl/openssl] 9ca919: OPENSSL_hexstr2buf_ex(): Handle zero-length input ...
Tomáš Mráz
noreply at github.com
Tue Jul 2 18:16:04 UTC 2024
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 9ca919f714bf9bc8a84d33435c63ca816f0453af
https://github.com/openssl/openssl/commit/9ca919f714bf9bc8a84d33435c63ca816f0453af
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