[Bug 2753] Access violation of a array in sftp

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Aug 11 13:58:30 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2753

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
I think the application verifier is incorrect here.

In this case, optind == argc-1, so file2 will be set to argv[argc].
argv[argc] is defined to be NULL by section 5.1.2.2.1 of the C
standard:

"argv[argc] shall be a null pointer."

http://iso-9899.info/n1570.html#5.1.2.2.1p2

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list