summaryrefslogtreecommitdiff
path: root/src/basic/fileio.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-10-02 12:15:22 +0200
committerSven Eden <sven.eden@prydeworx.com>2018-10-29 10:18:28 +0100
commit170b60b25b486805483c25a47ac85a6adf526084 (patch)
tree9947ba4ac6bb6cc060807e12086aa01e0350ac40 /src/basic/fileio.c
parentecdabcedb0569eef869dff7d62526ee2647608f5 (diff)
basic/hexdecoct: check for overflow
LGTM was complaining: > Multiplication result may overflow 'int' before it is converted to 'long'. Fix this by changing all types to ssize_t and add a check for overflow while at it. (cherry picked from commit 3d6c1844744f631995af72867d5f293430d8015b)
Diffstat (limited to 'src/basic/fileio.c')
0 files changed, 0 insertions, 0 deletions