Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
F136989506: D52713.id.diff
Thu, Nov 20, 10:32 PM
Unknown Object (File)
Thu, Oct 30, 2:16 PM
Unknown Object (File)
Wed, Oct 29, 9:35 AM
Unknown Object (File)
Wed, Oct 29, 7:20 AM
Unknown Object (File)
Wed, Oct 29, 7:19 AM
Unknown Object (File)
Wed, Oct 29, 7:00 AM
Unknown Object (File)
Mon, Oct 27, 3:54 PM
Unknown Object (File)
Sun, Oct 26, 8:32 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 67283
Build 64166: arc lint + arc unit