Page MenuHomeFreeBSD

D19220.1775086210.diff
No OneTemporary

Size
449 B
Referenced Files
None
Subscribers
None

D19220.1775086210.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
Wed, Apr 1, 11:30 PM (10 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28240515
Default Alt Text
D19220.1775086210.diff (449 B)

Event Timeline