Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
F164860877: D52713.id162835.diff
Tue, Aug 4, 8:47 AM
F164807826: D52713.id162747.diff
Tue, Aug 4, 3:44 AM
Unknown Object (File)
Mon, Aug 3, 4:06 AM
Unknown Object (File)
Sat, Aug 1, 4:16 AM
Unknown Object (File)
Sat, Aug 1, 4:16 AM
Unknown Object (File)
Sun, Jul 26, 8:56 AM
Unknown Object (File)
Sun, Jul 26, 12:52 AM
Unknown Object (File)
Sat, Jul 25, 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