Subject: bug#42656: term.c:1405:25: warning: ‘%d’ directive writing between 2 and 10 bytes into a region of size 3

From: Andreas Schwab <[email-masked]>
Date: Sat, 01 Aug 2020 21:43:20 +0200

On Aug 01 2020, Jeffrey Walton wrote:

> term.c:1405:23: note: directive argument in the range [11, 2147483646]
>         sprintf (fkey, "f%d", i);
>                        ^~~~~

That's clearly a compiler bug.  The loop counts i from 11 to 64, so
2147483646 can never happen.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."