#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.

Change History (0)

Note: See TracTickets for help on using tickets.