[openssl/openssl] 3f7b35: OPENSSL_hexstr2buf_ex(): Handle zero-length input ...

Tomáš Mráz noreply at github.com
Tue Jul 2 18:15:59 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 3f7b355733407cf777bfad5ce5b79610588bacc5
      https://github.com/openssl/openssl/commit/3f7b355733407cf777bfad5ce5b79610588bacc5
  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)



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