wolfssh/apps
John Safranek 903bbc7fb2 Coverity: Argument cannot be negative
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
2025-07-21 09:36:35 -07:00
..
wolfssh Coverity: Argument cannot be negative 2025-07-21 09:36:35 -07:00
wolfsshd Coverity: Argument cannot be negative 2025-07-21 09:36:35 -07:00
include.am wolfSSH Client 2023-09-25 09:23:13 -07:00