bugzilla-daemon at mindrot.org
2002-Jan-18 10:15 UTC
[Bug 73] New: sftp segfaults on an attempt to up/download a nonexistent file
http://bugzilla.mindrot.org/show_bug.cgi?id=73 Summary: sftp segfaults on an attempt to up/download a nonexistent file Product: Portable OpenSSH Version: -current Platform: ix86 URL: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34019 OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: roam at ringlet.net When the name of a non-existent file is given as the argument to a 'get' or 'put' command, sftp(1) fails to interpret correctly the result of the glob(3) invocation. glob(3) does not return an error (a non-zero exit), yet it does not return any meaningful file names, either, so process_get() and process_put()'s attempts to access the gl_pathv[] array fail miserably. A trivial patch is posted in the audit-trail of the FreeBSD problem report referenced by the URL above. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.