[openssl/openssl] daa014: fuzz/asn1.c: Add check for ASN1_item_i2d

Tomas Mraz noreply at reply.github.openssl.org
Tue Jun 28 15:10:54 UTC 2022

  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: daa014b2061b94832415b1177ff2db6a17fc7274
  Author: Jiasheng Jiang <jiasheng at iscas.ac.cn>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M fuzz/asn1.c

  Log Message:
  fuzz/asn1.c: Add check for ASN1_item_i2d

As the potential failure of the ASN1_item_i2d,
it should be better to check the return value.

Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18647)

(cherry picked from commit 1cb35ce06a968dc82e7cd9502ecce8e89eca9580)

More information about the openssl-commits mailing list