[openssl/openssl] b24a82: x_attrib.c: Fix print_hex() function

Tomáš Mráz noreply at github.com
Fri Jul 12 10:23:57 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: b24a8200ab3e135c84dbf1054b92ffb713a7b5ad
      https://github.com/openssl/openssl/commit/b24a8200ab3e135c84dbf1054b92ffb713a7b5ad
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M crypto/x509/x_attrib.c

  Log Message:
  -----------
  x_attrib.c: Fix print_hex() function

- Better handle 0 length input
- Use OPENSSL_buf2hexstr() instead of OPENSSL_buf2hexstr_ex()
  which fixes insufficient length of the allocate buffer.

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24771)



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