OpenAFS CVS Commit: openafs/src/viced by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 03 May 2006 06:57:14 EDT


Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-4/src/viced

Modified Files:
      Tag: openafs-stable-1_4_x
	afsfileprocs.c 
Log Message:
DELTA STABLE14-viced-store-data-validate-input-20060408
AUTHOR jaltman@secure-endpoints.com

The old StoreData RPC is only supposed to be valid for files
smaller than 2GB.  When StoreData64 was added, StoreData and StoreData64
were implemented as calls to common_StoreData64.  This removed the bounds
checking on the old StoreData RPC making it possible for operations
beyond two 2GB to be requested even if the file server cannot support
them.  This patch adds a validity check to ensure that the requested
file operations remain below 2GB.  Failures return E2BIG.


--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-viced-store-data-validate-input-20060408 openafs/src/viced/afsfileprocs.c 1.81.2.25 1.81.2.26