artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c73476
)
uiomove not checked for failure; wpaul@skynet.ctr.columbia.edu
author
deraadt
<deraadt@openbsd.org>
Mon, 16 Dec 1996 14:30:17 +0000
(14:30 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 16 Dec 1996 14:30:17 +0000
(14:30 +0000)
sys/kern/uipc_socket.c
patch
|
blob
|
history
diff --git
a/sys/kern/uipc_socket.c
b/sys/kern/uipc_socket.c
index
c71551f
..
c6650e4
100644
(file)
--- a/
sys/kern/uipc_socket.c
+++ b/
sys/kern/uipc_socket.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uipc_socket.c,v 1.
7 1996/09/20 22:53:10
deraadt Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.
8 1996/12/16 14:30:17
deraadt Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@
-705,6
+705,8
@@
dontblock:
splx(s);
error = uiomove(mtod(m, caddr_t) + moff, (int)len, uio);
s = splsoftnet();
+ if (error)
+ goto release;
} else
uio->uio_resid -= len;
if (len == m->m_len - moff) {