Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81586 - net-ftp/ftp with SSL support segfaults on -z option misuse
Summary: net-ftp/ftp with SSL support segfaults on -z option misuse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-11 00:29 UTC by Andreas Kling
Modified: 2005-02-11 16:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that solves problem (netkit-ftp-0.17+ssl-zarg.diff,377 bytes, patch)
2005-02-11 00:33 UTC, Andreas Kling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2005-02-11 00:29:20 UTC
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
Comment 1 Andreas Kling 2005-02-11 00:33:19 UTC
Created attachment 50986 [details, diff]
Patch that solves problem

Exits with an error message if -z is specified without an argument.
Comment 2 SpanKY gentoo-dev 2005-02-11 16:18:23 UTC
added 0.17-r4 with the fix, thanks :)