X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..80e2389990082500d76eb566d4946be3e786c3ef:/libsecurity_asn1/lib/secasn1d.c diff --git a/libsecurity_asn1/lib/secasn1d.c b/libsecurity_asn1/lib/secasn1d.c index 8f20af23..d4b6d2e3 100644 --- a/libsecurity_asn1/lib/secasn1d.c +++ b/libsecurity_asn1/lib/secasn1d.c @@ -1335,7 +1335,7 @@ regular_string_type: struct subitem *subitem; unsigned long len; - PORT_Assert (item->Length == 0 && item->Data == NULL); + PORT_Assert (item != NULL && item->Length == 0 && item->Data == NULL); /* * Check for and handle an ANY which has stashed aside the * header (identifier and length) bytes for us to include