X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=list.c;h=fcafb5777b75da30055a7ff6795ea2424e7eba1d;hp=d779d4e5c861c07f26a3728b648203b144deb64e;hb=823a6f149f45a67cbac988b84398c58cd70f1e67;hpb=292da21cea2a42b0896d667cff7201ef0ea2894e diff --git a/list.c b/list.c index d779d4e5..fcafb577 100644 --- a/list.c +++ b/list.c @@ -1,4 +1,4 @@ -const char list_rcs[] = "$Id: list.c,v 1.27 2012/03/04 11:41:32 fabiankeil Exp $"; +const char list_rcs[] = "$Id: list.c,v 1.28 2012/03/09 16:23:50 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/list.c,v $ @@ -977,7 +977,7 @@ jb_err map(struct map *the_map, assert(the_map); - if ((NULL == value) + if ( (NULL == value) || (NULL == name) || (NULL == (new_entry = zalloc(sizeof(*new_entry))))) {