Commit e931db6
sftp: check ParseAttributes return in RecvOpen
Set ret = WS_BAD_FILE_E and jump to cleanup on parse failure
instead of ignoring the return value.
Issue: CID 6459821 parent 0068d52 commit e931db6
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
2073 | 2078 | | |
2074 | 2079 | | |
2075 | 2080 | | |
| |||
2277 | 2282 | | |
2278 | 2283 | | |
2279 | 2284 | | |
2280 | | - | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
2281 | 2290 | | |
2282 | 2291 | | |
2283 | 2292 | | |
| |||
0 commit comments