Page MenuHomeFreeBSD

ng_tty: copy to the correct mbuf
ClosedPublic

Authored by vexeduxr on Sep 24 2025, 3:55 PM.
Tags
None
Referenced Files
F173942848: D52713.id162747.diff
Tue, Sep 29, 1:11 PM
Unknown Object (File)
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

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 67283
Build 64166: arc lint + arc unit