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, Mar 1, 6:28 AM
Unknown Object (File)
Tue, Feb 24, 6:56 PM
Unknown Object (File)
Mon, Feb 23, 9:56 PM
Unknown Object (File)
Mon, Feb 23, 1:04 PM
Unknown Object (File)
Sun, Feb 22, 1:22 PM
Unknown Object (File)
Sat, Feb 21, 3:19 PM
Unknown Object (File)
Fri, Feb 20, 12:56 AM
Unknown Object (File)
Fri, Feb 20, 12:56 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