[Tcpick-project] Fwd: Double free bug.
Status: Beta
Brought to you by:
duskdruid
From: tarty <rt...@gm...> - 2006-06-26 08:28:53
|
When using an unique output file, the "other" has the same pointer to the filename, instead of a copy. This makes glibc abort execution when detected, after freeing the "other" CONN and trying to free this CONN. @write.c if(flags.writer.type == UNIQUE && desc->oth->file != NULL ) { /* user want a unique output file, and it was just opened! */ desc->file = desc->oth->file; desc->filename = strndup(desc->oth->filename, strlen(desc->oth->filename));//patch } else { Please forgive my bad english and total ignorance of diff. Rodrigo Tartajo Martinez. Madrid, Spain. |