From 1757180dab3f5fb74044f665f5e603fafa8e7e22 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 13 Apr 2004 21:41:11 +0000 Subject: [PATCH] fileserver-no-longer-asserts-when-read-past-EOF-20040413 --- src/viced/afsfileprocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index da04b22815..cf2c9ac025 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 */