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)
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
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 Not Applicable
Unit
Tests Not Applicable