immutable: prevent clients from reading past the end of share data, which would allow...
authorZooko O'Whielacronx <zooko@zooko.com>
Mon, 12 Sep 2011 22:24:58 +0000 (15:24 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Mon, 12 Sep 2011 22:24:58 +0000 (15:24 -0700)
commit20e2910c616531c9e4c8903c606c25af65bcf824
tree46278bf83268cb01982ea3cd12a36bf706409e77
parent5476f67dc1177a26b69fd67fbe589842f065d482
immutable: prevent clients from reading past the end of share data, which would allow them to learn the cancellation secret
Declare explicitly that we prevent this problem in the server's version dict.
fixes #1528 (there are two patches that are each a sufficient fix to #1528 and this is one of them)
src/allmydata/storage/immutable.py
src/allmydata/storage/server.py