提交 ccf52992 编写于 作者: B Ben Laurie

!a && !a->b is clearly wrong! Changed to !a || !a->b (Coverity ID 145).

上级 5ceb595d
......@@ -108,7 +108,7 @@ BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
const ASN1_AUX *aux = it->funcs;
ASN1_STREAM_ARG sarg;
if (!aux && !aux->asn1_cb)
if (!aux || !aux->asn1_cb)
{
ASN1err(ASN1_F_BIO_NEW_NDEF, ASN1_R_STREAMING_NOT_SUPPORTED);
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册