[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2462: remove bare asserts for segment out-of-range errors in mutable retrieve

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jul 7 20:15:49 UTC 2015


#2462: remove bare asserts for segment out-of-range errors in mutable retrieve
-------------------------+-------------------------------------------------
     Reporter:  daira    |      Owner:  daira
         Type:  defect   |     Status:  assigned
     Priority:  normal   |  Milestone:  1.11.0
    Component:  code-    |    Version:  1.10.1
  mutable                |   Keywords:  cleanup error mutable retrieve
   Resolution:           |  download
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by daira):

 The current error behaviour is confusing; it appears that you can read one
 byte past the end of the file, only if the file is not a multiple of `k`
 bytes (i.e. you can read the dummy bytes that are added to make the size
 of the input to encoding a multiple of `k` bytes). This should probably be
 made stricter.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2462#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list