[Bug 1956] sftp segfaults in parse_args() when argv[0] is NULL

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Dec 11 07:46:51 EST 2011


--- Comment #1 from Loganaden Velvindron <loganaden at gmail.com> 2011-12-11 07:46:51 EST ---
Created attachment 2117
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2117
return -1 when argv[0] is NULL instead of continuing further

when argv[0] is set to NULL, return -1.

This fixes the segfault. I'm still looking
into what causes its value to be set to NULL.

Thanks to Eldergod Selven who allowed me to play
with his iMac ;-)

Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list