Index: htp/dslib.c
===================================================================
--- htp/dslib.c	(revision 63)
+++ htp/dslib.c	(working copy)
@@ -199,6 +199,9 @@
  *         if the element at that position carries a NULL
  */
 static void *list_array_get(list_t *_l, size_t index) {
+
+    if(_l == NULL) return NULL;
+
     list_array_t *l = (list_array_t *) _l;
     void *r = NULL;
 
