r3680 - branches/2.0/varnish-cache/bin/varnishd
    tfheen at projects.linpro.no 
    tfheen at projects.linpro.no
       
    Fri Feb  6 15:34:37 CET 2009
    
    
  
Author: tfheen
Date: 2009-02-06 15:34:37 +0100 (Fri, 06 Feb 2009)
New Revision: 3680
Modified:
   branches/2.0/varnish-cache/bin/varnishd/mgt_param.c
Log:
Merge r3490: Assert that realloc() did.
Modified: branches/2.0/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/mgt_param.c	2009-02-06 14:31:33 UTC (rev 3679)
+++ branches/2.0/varnish-cache/bin/varnishd/mgt_param.c	2009-02-06 14:34:37 UTC (rev 3680)
@@ -908,6 +908,7 @@
 		n++;
 	}
 	parspec = realloc(parspec, (nparspec + n + 1) * sizeof *parspec);
+	XXXAN(parspec);
 	for (pp = ps; pp->name != NULL; pp++)
 		parspec[nparspec++] = pp;
 	parspec[nparspec] = NULL;
    
    
More information about the varnish-commit
mailing list