OpenAFS CVS Commit: openafs/src/viced by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 08 Apr 2006 15:40:16 EDT


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

Modified Files:
	afsfileprocs.c 
Log Message:
DELTA 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 follows ---
viced-store-data-validate-input-20060408 openafs/src/viced/afsfileprocs.c 1.111 1.112