[Midnightbsd-cvs] [MidnightBSD/src] b8f72d: asa: guard against zero-length fgetln()
Lucas Holt
noreply at github.com
Fri May 1 11:45:54 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: b8f72dc1be6c74e12d0e40b49429beb92bc88d17
https://github.com/MidnightBSD/src/commit/b8f72dc1be6c74e12d0e40b49429beb92bc88d17
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-01 (Fri, 01 May 2026)
Changed paths:
M usr.bin/asa/asa.c
Log Message:
-----------
asa: guard against zero-length fgetln()
Skip zero-length lines to avoid len-1 underflow when checking for a trailing newline.
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