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
Unknown Object (File)
Thu, Apr 18, 6:02 PM
Unknown Object (File)
Fri, Mar 29, 1:18 AM
Unknown Object (File)
Dec 22 2023, 12:43 AM
Unknown Object (File)
Dec 20 2023, 7:53 AM
Unknown Object (File)
Oct 6 2023, 11:52 AM
Unknown Object (File)
Aug 15 2023, 9:05 PM
Unknown Object (File)
Jun 28 2023, 6:39 PM
Unknown Object (File)
Jun 28 2023, 6:38 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