| Bug#: 81586 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: trivial | Priority: P2 |
| Resolution: FIXED | Assigned To: base-system@gentoo.org | Reported By: keso@impul.se | |
| Component: Applications | |||
| URL: | |||
| Summary: net-ftp/ftp with SSL support segfaults on -z option misuse | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2005-02-11 00:29 0000 | |||
| Description: | Opened: 2005-02-11 00:29 0000 |
When compiled with SSL support, the ftp client (net-ftp/ftp) dumps core when run as "ftp -z". The -z option expects an argument, but the existence of one is never checked before "using" it. Reproducible: Always Steps to Reproduce: ftp -z Actual Results: Segmentation fault
Created an attachment (id=50986) [details]
Patch that solves problem
Exits with an error message if -z is specified without an argument.
added 0.17-r4 with the fix, thanks :)