Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148569751
D52713.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
435 B
Referenced Files
None
Subscribers
None
D52713.id.diff
View Options
diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c
--- a/sys/netgraph/ng_tty.c
+++ b/sys/netgraph/ng_tty.c
@@ -427,7 +427,7 @@
for (mb = m; mb != NULL; mb = mb->m_next) {
length = min(M_TRAILINGSPACE(mb), len - total);
- memcpy(mtod(m, char *), (const char *)buf + total, length);
+ memcpy(mtod(mb, char *), (const char *)buf + total, length);
mb->m_len = length;
total += length;
m->m_pkthdr.len += length;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 8:23 PM (5 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29977778
Default Alt Text
D52713.id.diff (435 B)
Attached To
Mode
D52713: ng_tty: copy to the correct mbuf
Attached
Detach File
Event Timeline
Log In to Comment