]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_asn1/lib/secasn1d.c
Security-55471.14.18.tar.gz
[apple/security.git] / libsecurity_asn1 / lib / secasn1d.c
index 8f20af238ae893f30d6fba1d567ac28bd684d76b..d4b6d2e3adbcd31c11a2005f54c93e96f840b9d6 100644 (file)
@@ -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