immutable: when storage server reads from immutable share, don't try to read past...
authorZooko O'Whielacronx <zooko@zooko.com>
Sat, 3 Jan 2009 20:22:22 +0000 (13:22 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sat, 3 Jan 2009 20:22:22 +0000 (13:22 -0700)
commit53b28c1650c74624c54753712c7625dd68aa747f
treed3cc54fee9c5f72df93d80b90b446fb03dd2c952
parentde4269a643038404931acec771995c89011ba9ab
immutable: when storage server reads from immutable share, don't try to read past the end of the file (Python allocates space according to the amount of data requested, so if there is corruption and that number is huge it will do a huge memory allocation)
src/allmydata/storage.py