Opened at 2022-01-03T12:29:20Z
#3853 new defect
If a given header is too short, `ShareFile.is_valid_header` method raises an exception
Reported by: | exarkun | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
Since the point of this method is to determine if some arbitrary bytes from a file match the immutable container header and it signals *some* mismatches by returning false, it would be nice if it signaled short-candidate-string by returning false too.
Note: See
TracTickets for help on using
tickets.