git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4a07292
)
fileserver-no-longer-asserts-when-read-past-EOF-20040413
author
Ken Hornstein
<kenh@cmf.nrl.navy.mil>
Tue, 13 Apr 2004 21:41:11 +0000 (21:41 +0000)
committer
Ken Hornstein
<kenh@cmf.nrl.navy.mil>
Tue, 13 Apr 2004 21:41:11 +0000 (21:41 +0000)
src/viced/afsfileprocs.c
patch
|
blob
|
history
diff --git
a/src/viced/afsfileprocs.c
b/src/viced/afsfileprocs.c
index
da04b22
..
cf2c9ac
100644
(file)
--- 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 */