Red Hat Bugzilla – Bug 218211
wget crashes when .listing file exists
Last modified: 2016-09-20 00:49:09 EDT
Description of problem:
if file '.listing' exists in the local directory when wget retrieves
directory listing, it crashes with
"*** glibc detected *** wget: double free or corruption"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
this time wget magically survives even the pointer is freed twice. somewhere
before the call to free() a new chunk of memory is allocated at the
address stored in the pointer. listing data is stored in index.html[.x]
now wget finally crashes.
attaching patch that should fix this.
Created attachment 142681 [details]
I've built a new package with this patch which should show up in FC6-testing soon.
Please give it a try...