[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7614 - libmicrohttpd/src/daemon/https/minitasn1
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7614 - libmicrohttpd/src/daemon/https/minitasn1 |
Date: |
Sun, 24 Aug 2008 16:28:54 -0600 (MDT) |
Author: grothoff
Date: 2008-08-24 16:28:54 -0600 (Sun, 24 Aug 2008)
New Revision: 7614
Modified:
libmicrohttpd/src/daemon/https/minitasn1/coding.c
Log:
handle null case gracefully
Modified: libmicrohttpd/src/daemon/https/minitasn1/coding.c
===================================================================
--- libmicrohttpd/src/daemon/https/minitasn1/coding.c 2008-08-24 22:27:18 UTC
(rev 7613)
+++ libmicrohttpd/src/daemon/https/minitasn1/coding.c 2008-08-24 22:28:54 UTC
(rev 7614)
@@ -626,8 +626,9 @@
return;
p = node->down;
- while ((type_field (p->type) == TYPE_TAG)
- || (type_field (p->type) == TYPE_SIZE))
+ while ( (p != NULL) &&
+ ((type_field (p->type) == TYPE_TAG)
+ || (type_field (p->type) == TYPE_SIZE)) )
p = p->right;
if ((p == NULL) || (p->right == NULL))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7614 - libmicrohttpd/src/daemon/https/minitasn1,
gnunet <=