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)
Sat, Nov 29, 9:56 AM
Unknown Object (File)
Fri, Nov 28, 2:02 PM
Unknown Object (File)
Fri, Nov 28, 2:01 AM
Unknown Object (File)
Wed, Nov 26, 12:16 PM
Unknown Object (File)
Tue, Nov 25, 1:58 PM
Unknown Object (File)
Tue, Nov 25, 9:31 AM
Unknown Object (File)
Tue, Nov 25, 12:29 AM
Unknown Object (File)
Thu, Nov 20, 10:32 PM

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