Logging useful info on downloaded files

2006-12-19 Thread Denis Golovan
Hi, all! I need some advanced logging capabilities in wget. Since long-awaited content-disposition feature appeared, it came impossible to associate textual descriptions with downloaded files (filename on disk can be completely different of url). Yes, I know of --no-content-disposition

FTP SYST NULL dereferencing crash (found by someone else)

2006-12-19 Thread Ulf Harnhammar
2006-12-19 Ulf Harnhammar [EMAIL PROTECTED] * ftp-basic.c (ftp_syst): Fixes NULL dereferencing crash bug when parsing SYST replies from FTP servers. Originally reported by Federico L. Bossi Bonin: http://www.milw0rm.com/exploits/2947 Index: src/ftp-basic.c

Re: FTP SYST NULL dereferencing crash (found by someone else)

2006-12-19 Thread Steven M. Schweda
From: Ulf Harnhammar [EMAIL PROTECTED] + if (request == NULL) +{ + xfree (respline); + return FTPSRVERR; +} Well, yeah, if you prefer returning an error code to trying a little harder. I prefer my change: if (request == NULL) *server_type = ST_OTHER; Why punish