[Midnightbsd-cvs] [MidnightBSD/src] a4672f: ident: avoid underflow when validating keyword ter...
Lucas Holt
noreply at github.com
Fri May 1 11:42:48 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: a4672feac9e1dd9c83d541b42991dc49d1681bb7
https://github.com/MidnightBSD/src/commit/a4672feac9e1dd9c83d541b42991dc49d1681bb7
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-01 (Fri, 01 May 2026)
Changed paths:
M usr.bin/ident/ident.c
Log Message:
-----------
ident: avoid underflow when validating keyword termination
Use the open_memstream size (sz) when checking the character before the closing '$' to avoid strlen()-based underflow on malformed inputs.
AI-Assisted-by: GPT-5.2 (Codex CLI)
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list