Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
F144216740: D52713.diff
Fri, Feb 6, 3:25 PM
Unknown Object (File)
Sun, Jan 25, 10:25 AM
Unknown Object (File)
Sat, Jan 24, 8:22 PM
Unknown Object (File)
Dec 29 2025, 4:52 AM
Unknown Object (File)
Dec 27 2025, 11:39 AM
Unknown Object (File)
Dec 23 2025, 11:31 AM
Unknown Object (File)
Nov 29 2025, 9:56 AM
Unknown Object (File)
Nov 28 2025, 2:02 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