Page MenuHomeFreeBSD

Fix handling of ancillary data on non-AF_UNIX Linux sockets.
ClosedPublic

Authored by markj on Aug 17 2020, 9:27 PM.
Tags
None
Referenced Files
F111665069: D26093.id75911.diff
Thu, Mar 6, 5:44 PM
F111606562: D26093.id.diff
Wed, Mar 5, 10:36 PM
Unknown Object (File)
Wed, Mar 5, 1:56 AM
Unknown Object (File)
Tue, Mar 4, 3:10 PM
Unknown Object (File)
Thu, Feb 20, 3:01 AM
Unknown Object (File)
Jan 14 2025, 7:09 PM
Unknown Object (File)
Nov 23 2024, 3:33 AM
Unknown Object (File)
Oct 1 2024, 2:46 AM
Subscribers

Details

Summary

After r340674, the "continue" would restart the loop without having
updated clen, resulting in an infinite loop. Restore the old behaviour
of simply ignoring all control messages on such sockets, since we
currently only implement handling for AF_UNIX-specific messages.

Reported by: syzkaller

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33036
Build 30422: arc lint + arc unit