Page MenuHomeFreeBSD

D19220.id54019.diff
No OneTemporary

D19220.id54019.diff

Index: head/stand/libsa/zfs/zfs.c
===================================================================
--- head/stand/libsa/zfs/zfs.c
+++ head/stand/libsa/zfs/zfs.c
@@ -435,8 +435,8 @@
ret = EIO;
goto error;
}
- memcpy(outbuf, bouncebuf + head, secsz - head);
- outbuf += secsz - head;
+ memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes));
+ outbuf += min(secsz - head, bytes);
}
/* Full data return from read sectors */

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 9:16 AM (3 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35397074
Default Alt Text
D19220.id54019.diff (449 B)

Event Timeline