projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed nfs bug that was pointed out by
[unix-history]
/
sys
/
nfs
/
nfs_socket.c
diff --git
a/sys/nfs/nfs_socket.c
b/sys/nfs/nfs_socket.c
index
be41044
..
d306824
100644
(file)
--- a/
sys/nfs/nfs_socket.c
+++ b/
sys/nfs/nfs_socket.c
@@
-34,7
+34,7
@@
* SUCH DAMAGE.
*
* From: @(#)nfs_socket.c 7.23 (Berkeley) 4/20/91
* SUCH DAMAGE.
*
* From: @(#)nfs_socket.c 7.23 (Berkeley) 4/20/91
- * $Id: nfs_socket.c,v 1.
3 1993/09/09 22:06:05 rgrimes
Exp $
+ * $Id: nfs_socket.c,v 1.
4 1993/12/19 00:54:14 wollman
Exp $
*/
/*
*/
/*
@@
-971,6
+971,8
@@
nfs_getreq(so, prog, vers, maxproc, nam, mrp, mdp, dposp, retxid, procnum, cr,
}
if (error)
return (error);
}
if (error)
return (error);
+ if (!mrep)
+ return (EBADRPC);
md = mrep;
mrep = nfs_uncompress(mrep);
if (mrep != md) {
md = mrep;
mrep = nfs_uncompress(mrep);
if (mrep != md) {