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
F162156255: D26093.id75946.diff
Fri, Jul 10, 9:30 AM
Unknown Object (File)
Thu, Jul 9, 6:01 AM
Unknown Object (File)
Fri, Jul 3, 9:27 PM
Unknown Object (File)
Wed, Jul 1, 5:14 AM
Unknown Object (File)
Tue, Jun 30, 9:04 AM
Unknown Object (File)
Tue, Jun 23, 4:29 AM
Unknown Object (File)
Mon, Jun 22, 1:18 AM
Unknown Object (File)
Thu, Jun 18, 9:04 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable