Files
Kyle Evans 52e2e6bfc3 ssp: fix our gets_s implementation under _FORTIFY_SOURCE
Annex K specifies an interface for handling constraint violations from
gets_s, but we previously broke this for some classes of get_s misuse.

Provide a more nuanced version that tries to dodge errors that would
trigger a constraint handler while still providing value.  Notably, we
don't want to trigger a failure unless the passed-in length reasonably
fits within an RSIZE_MAX, because gets_s will immediately call larger
lengths bogus and fail.

PR:		294881
Reviewed by:	markj

(cherry picked from commit d98f4f0698)
2026-06-09 23:00:35 -05:00
..
2025-06-11 17:16:22 -06:00
2024-10-14 10:26:17 -07:00
…
…
2024-12-29 17:57:46 +00:00
2025-04-27 08:29:32 +02:00
…
…
…