| Summary: | Access violation of a array in sftp | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | bingbing8 <yawang> |
| Component: | sftp | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 7.5p1 | ||
| Hardware: | amd64 | ||
| OS: | All | ||
|
Description
bingbing8
2017-08-05 07:26:54 AEST
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 Close all resolved bugs after release of OpenSSH 7.7. |