|
From: | Paul Eggert |
Subject: | Re: maint: prefer ckd_add to INT_ADD_WRAPV |
Date: | Sun, 4 Aug 2024 01:55:18 -0700 |
User-agent: | Mozilla Thunderbird |
On 2024-07-21 12:34, Collin Funk wrote:
Since pretty much everywhere else uses C23 ckd_* instead of intprops *_WRAV macros now, here is a patch for tar.
Thanks, this prompted me to scan tar for integer overflow and related bugs. Now's a good time to install what I found so far, so I did that. One of the patches is the following; it is related to your suggestion, but is a bit more general because it also replaces some other uses of intprops.h macros.
https://git.savannah.gnu.org/cgit/tar.git/commit/?id=a9372cf08a05723b2a06efff3402077598138238
[Prev in Thread] | Current Thread | [Next in Thread] |