diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-06-12 00:35:14 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-12 00:39:13 +0100 |
commit | 4f169fe49bc6788cd1d5e5cce84b41d40f053d5f (patch) | |
tree | 0579c51162a9792fdaab442b500cc09439b408d0 /ChangeLog-2008 | |
parent | e919da5aee779358bab7def14c77049546811750 (diff) | |
download | coreutils-4f169fe49bc6788cd1d5e5cce84b41d40f053d5f.tar.xz |
maint: suppress a theoretical buffer overflow warning
* src/numfmt.c (double_to_human): The printf format is built up in
a stack buffer which is big enough to hold any of the possible formats.
However the size parameter passed to snprintf was too big by 1
when GROUP was true. So decrease the buffer available to snprintf
to avoid this theoretical in practise but valid coverity warning.
Diffstat (limited to 'ChangeLog-2008')
0 files changed, 0 insertions, 0 deletions