[xiph-commits] r9126 - icecast/trunk/httpp

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Thu Apr 7 20:48:09 PDT 2005


Author: karl
Date: 2005-04-07 20:48:08 -0700 (Thu, 07 Apr 2005)
New Revision: 9126

Modified:
   icecast/trunk/httpp/httpp.c
Log:
simple sanity check


Modified: icecast/trunk/httpp/httpp.c
===================================================================
--- icecast/trunk/httpp/httpp.c	2005-04-08 03:44:25 UTC (rev 9125)
+++ icecast/trunk/httpp/httpp.c	2005-04-08 03:48:08 UTC (rev 9126)
@@ -451,6 +451,9 @@
     http_var_t *found;
     void *fp;
 
+    if (parser == NULL || name == NULL)
+        return NULL;
+
     fp = &found;
     var.name = name;
     var.value = NULL;



More information about the commits mailing list