bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash printf should diagnose integer overflow


From: Chet Ramey
Subject: Re: Bash printf should diagnose integer overflow
Date: Mon, 18 Mar 2024 10:40:09 -0400
User-agent: Mozilla Thunderbird

On 3/13/24 8:57 PM, Paul Eggert wrote:

Revised patchset attached. The first patch uses the fix you suggested; the remaining patches are similar to what I sent earlier, except the last one is simplified since it doesn't need to worry about inline width and precision when printf will do the checking. These patches are relative to Bash devel commit bf944fe91ffa97743ad86f6db6f3b84c78207a78 dated today at 09:33:32 -0400.

Thanks for the patches. They introduce a number of regressions, some due
to the different overflow handling; several not. I urge everyone who
submits non-trivial patches to run the test suite (`make tests') on their
patched versions before sending them in.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]