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

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

  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 1cb35ce06a968dc82e7cd9502ecce8e89eca9580
  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)

More information about the openssl-commits mailing list