diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-05-17 09:06:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-17 09:06:32 +0200 |
commit | b4990734066b6333f4a6b68718afafa1ecaa928d (patch) | |
tree | e943b6b4b179c48fce97a19ac7122ec25a235643 /lib/strtoofft.c | |
parent | 2639c3920d79df38dc0574ac37396af19b30e9cb (diff) |
dprintf_formatf: fix (false?) Coverity warning
CID 1024412: Memory - illegal accesses (OVERRUN). Claimed to happen when
we run over 'workend' but the condition says <= workend and for all I
can see it should be safe. Compensating for the warning by adding a byte
margin in the buffer.
Also, removed the extra brace level indentation in the code and made it
so that 'workend' is only assigned once within the function.
Diffstat (limited to 'lib/strtoofft.c')
0 files changed, 0 insertions, 0 deletions