]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE12-make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011226
authorNickolai Zeldovich <kolya@mit.edu>
Wed, 26 Dec 2001 20:58:07 +0000 (20:58 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 26 Dec 2001 20:58:07 +0000 (20:58 +0000)
commitcfc24b966ddd97ca42ad2e5467044046cfda2488
tree57ac495f3397c19126d12ba38831d975aefba69f
parent5071f4c217241767379cd0b8bcebd46b91612dff
STABLE12-make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011226

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