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)
Wed, Jul 1, 5:24 AM
Unknown Object (File)
May 17 2026, 1:48 PM
Unknown Object (File)
May 17 2026, 1:48 PM
Unknown Object (File)
May 17 2026, 9:45 AM
Unknown Object (File)
May 17 2026, 6:04 AM
Unknown Object (File)
May 14 2026, 5:29 AM
Unknown Object (File)
May 12 2026, 12:39 AM
Unknown Object (File)
May 12 2026, 12:16 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