Hi guys,
 
in http.c there are a couple of lines that say
 
if (opt.save_headers)
  fwrite(head,1,strlen(head), fp);
 
Unfortunately head has been deallocated by this time in 1.10. The 1.9.1 version correctly saved the head info in to the heap temporarily if opt.save_headers was on.
 
This code (the 1.9.1 code) needs to be reinstated.
 
I did a nasty patch which just copied up to 32K of headers in to a char[32768] on the local stack. This fixed it up, but the original code has this thought out pretty nicely.
 
Cheers
Phill

Reply via email to