Page MenuHomeFreeBSD

D58625.id183320.diff
No OneTemporary

D58625.id183320.diff

diff --git a/usr.sbin/bhyve/iov.c b/usr.sbin/bhyve/iov.c
--- a/usr.sbin/bhyve/iov.c
+++ b/usr.sbin/bhyve/iov.c
@@ -71,8 +71,8 @@
}
/* The entry iov[count] needs to be split. */
- *niov1 = count + 1;
*niov2 = *niov1 - count;
+ *niov1 = count + 1;
memmove(&iov[count + 1], &iov[count], sizeof(struct iovec) * (*niov2));
iov[count].iov_len = resid;
iov[count + 1].iov_base = (char *)iov[count].iov_base + resid;

File Metadata

Mime Type
text/plain
Expires
Sat, Aug 8, 7:14 PM (15 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35967109
Default Alt Text
D58625.id183320.diff (424 B)

Event Timeline