mirror of https://github.com/wolfSSL/wolfssh.git
1. Due to not checking the result of fseek(), it is possible to try to malloc() -1 bytes of storage. Checking the return from fseek() and erring if negative. 2. Changing the check between the result of fseek() and fread() to match signedness. Adding some casting, as at that point the fseek() result is always positive. Fixes CIDs: 573009 572928 572868 |
||
|---|---|---|
| .. | ||
| wolfssh | ||
| wolfsshd | ||
| include.am | ||