Page MenuHomeFreeBSD

include: ssp: fortify <sys/socket.h>
ClosedPublic

Authored by kevans on Jun 21 2024, 5:00 PM.
Tags
None
Referenced Files
F144474264: D45686.id140087.diff
Sun, Feb 8, 3:26 PM
F144459726: D45686.id140857.diff
Sun, Feb 8, 1:33 PM
Unknown Object (File)
Sat, Jan 31, 5:07 AM
Unknown Object (File)
Sun, Jan 11, 1:08 AM
Unknown Object (File)
Dec 26 2025, 12:36 AM
Unknown Object (File)
Nov 27 2025, 6:32 PM
Unknown Object (File)
Nov 26 2025, 3:18 AM
Unknown Object (File)
Nov 25 2025, 10:26 PM
Subscribers

Details

Summary

The entire recv*() implementation set is ripe for opportunities to
validate, so do what we can with what we have.

Sponsored by: Stormshield
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58295
Build 55183: arc lint + arc unit

Event Timeline

markj added inline comments.
lib/libc/tests/secure/generate-fortify-tests.lua
92

Is this check redundant? I'd expect new_socket() to check that if needed.

This revision is now accepted and ready to land.Jun 24 2024, 5:00 PM
kevans added inline comments.
lib/libc/tests/secure/generate-fortify-tests.lua
92

Indeed, new_socket() already does plenty to ensure that it hasn't failed.

This revision was automatically updated to reflect the committed changes.
kevans marked an inline comment as done.