[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3853: If a given header is too short, `ShareFile.is_valid_header` method raises an exception
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Jan 3 12:29:20 UTC 2022
#3853: If a given header is too short, `ShareFile.is_valid_header` method raises
an exception
---------------------+---------------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
---------------------+---------------------------
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.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3853>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list