httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marion & Christophe JAILLET <christophe.jail...@wanadoo.fr>
Subject Question about memory allocation in 'substring_conf' (server/util.c)
Date Tue, 05 Feb 2013 20:50:30 GMT
Hi,

This may look useless, but I can't figure out why in function 
'substring_conf' (line 752 in server/util.c) we allocate len+2 bytes ?
This seems to have been like that forever.

IMO, len+1 should be enough.
Changing that would be a huge memory usage improvement :).


Does any one has an idea about it ?

Best regards,
CJ







Mime
View raw message