Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect bounds checks for
is_cr2
This commit fixes incorrect bounds checking for the `is_cr2` detector, which would previously check for data bufffers of `len() > 9`, but would access `buf[10]`, which is invalid for buffers of `len() == 10`.
- Loading branch information