Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 21, 12:36 PM
Unknown Object (File)
Sat, Apr 18, 4:11 AM
Unknown Object (File)
Tue, Apr 14, 10:37 PM
Unknown Object (File)
Mon, Apr 6, 6:40 PM
Unknown Object (File)
Sun, Apr 5, 9:21 PM
Unknown Object (File)
Mar 31 2026, 12:52 AM
Unknown Object (File)
Mar 30 2026, 3:26 PM
Unknown Object (File)
Mar 30 2026, 7:21 AM

Details

Summary

memcpy should copy to the current mbuf, otherwise we're copying to the
first mbuf in the chain over and over.

Reported by: kevans
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable