Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CVE-2019-13104: ext4: check for underflow in ext4fs_read_file
in ext4fs_read_file, it is possible for a broken/malicious file system to cause a memcpy of a negative number of bytes, which overflows all memory. This patch fixes the issue by checking for a negative length. Signed-off-by: Paul Emge <[email protected]>
- Loading branch information