Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
F173509151: D52713.diff
Sat, Sep 26, 11:27 AM
Unknown Object (File)
Wed, Sep 16, 9:46 AM
Unknown Object (File)
Wed, Sep 9, 2:04 AM
Unknown Object (File)
Tue, Sep 8, 4:26 AM
Unknown Object (File)
Mon, Sep 7, 11:15 PM
Unknown Object (File)
Mon, Sep 7, 1:02 PM
Unknown Object (File)
Mon, Sep 7, 6:03 AM
Unknown Object (File)
Thu, Sep 3, 4:08 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