make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011203
authorNickolai Zeldovich <kolya@mit.edu>
Sat, 8 Dec 2001 02:29:24 +0000 (02:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 8 Dec 2001 02:29:24 +0000 (02:29 +0000)
commitddaf08d4b8f8a216e1df1891a531b36b37e23351
tree178bafd1d94c3ec4b935579958faffa9479c0d70
parent18f5f636dd6c1121a50614cf4860086db9f7842e
make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011203

Currently it's possible to give StoreData negative Pos/Length/FileLength
  arguments and thereby set the volume quota usage to arbitrary values.
  This patch makes these values unsigned, since negative file positions
  and lengths don't make sense anyway.
src/fsint/afsint.xg
src/viced/afsfileprocs.c