bug-coreutils
[Top][All Lists]
Advanced

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

bug#17455: [PATCH] shred: fix overflow checking of command-line options


From: Paul Eggert
Subject: bug#17455: [PATCH] shred: fix overflow checking of command-line options
Date: Sat, 10 May 2014 13:05:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Thanks for catching that!

I used signed because I was worried about offbeat hosts where UINTMAX_MAX < OFF_T_MAX, which I think POSIX allows, but I suppose I was going overboard.

There are still a few oddball hosts out there (I just the other day discovered that Unisys still ships POSIXish mainframes where UINTMAX_MAX == OFF_T_MAX, because off_t has 40 bits and uintmax_t has 39!) but nothing *that* weird as far as I know.





reply via email to

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