Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: don't leak a file descriptor
CID 131305 (#1 of 1): Resource leak (RESOURCE_LEAK) 20. leaked_storage: Variable f going out of scope leaks the storage it points to. CID 131304 (#1 of 1): Resource leak (RESOURCE_LEAK) 16. leaked_storage: Variable f going out of scope leaks the storage it points to. CID 131302 (#1 of 1): Resource leak (RESOURCE_LEAK) 14. leaked_handle: Handle variable fd going out of scope leaks the handle. CID 131301 (#1 of 1): Dereference null return value (NULL_RETURNS) 4. dereference: Dereferencing a pointer that might be null f when calling fscanf
- Loading branch information