HomeFreeBSD

m4: Fix OOB access displaying MIN_INT

Description

m4: Fix OOB access displaying MIN_INT

Previously displaying INT_MIN resulted in an out of bounds access to
digits[-8]. In twos-complement -INT_MIN is still negative.

PR: 287013
Reviewed by: emaste

Details

Provenance
Eric Blake <eblake@redhat.com>Authored on May 24 2025, 5:21 PM
emasteCommitted on May 24 2025, 5:26 PM
Parents
rGac196a584575: m4: Allow empty base argument in eval()
Branches
Unknown
Tags
Unknown