[InterNetNews/inn] d83e39: Reduce chance for overflow in ParseTime
Bernhard M. Wiedemann
noreply at github.com
Fri Apr 3 21:28:31 UTC 2026
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: d83e392d4b4fc1dcf07ba717c94d2b93c3e155ba
https://github.com/InterNetNews/inn/commit/d83e392d4b4fc1dcf07ba717c94d2b93c3e155ba
Author: Bernhard M. Wiedemann <bwiedemann at suse.de>
Date: 2026-04-03 (Fri, 03 Apr 2026)
Changed paths:
M CONTRIBUTORS
M storage/interface.c
Log Message:
-----------
Reduce chance for overflow in ParseTime
Without this patch, an input of 802M (months) could surprisingly produce
a negative return value.
Use `atoi` to match the type of the tmp variable.
This patch was done while reviewing potential year-2038 issues in openSUSE.
close #331
To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications
More information about the inn-committers
mailing list