Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
F148569751: D52713.id.diff
Wed, Mar 18, 8:23 PM
Unknown Object (File)
Sun, Mar 15, 2:37 AM
Unknown Object (File)
Fri, Mar 6, 9:24 PM
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

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