From: Ken Hornstein Date: Tue, 13 Apr 2004 21:41:11 +0000 (+0000) Subject: fileserver-no-longer-asserts-when-read-past-EOF-20040413 X-Git-Tag: openafs-devel-1_3_64~65 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1757180dab3f5fb74044f665f5e603fafa8e7e22;p=packages%2Fo%2Fopenafs.git fileserver-no-longer-asserts-when-read-past-EOF-20040413 --- diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index da04b2281..cf2c9ac02 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -6690,7 +6690,7 @@ FetchData_RXStyle(Volume * volptr, Vnode * targetptr, { afs_int32 high, low; SplitOffsetOrSize(Len, high, low); - assert(Int64Mode || high == 0); + assert(Int64Mode || (Len >= 0 && high == 0) || Len < 0); if (Int64Mode) { high = htonl(high); rx_Write(Call, (char *)&high, sizeof(afs_int32)); /* High order bits */