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)
Sun, May 17, 1:48 PM
Unknown Object (File)
Sun, May 17, 1:48 PM
Unknown Object (File)
Sun, May 17, 9:45 AM
Unknown Object (File)
Sun, May 17, 6:04 AM
Unknown Object (File)
Thu, May 14, 5:29 AM
Unknown Object (File)
Tue, May 12, 12:39 AM
Unknown Object (File)
Tue, May 12, 12:16 AM
Unknown Object (File)
Mon, May 11, 11:49 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