diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-03-20 15:15:14 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-03-20 19:25:50 +0100 |
commit | c1366571b609407cf0d4d9f4a2769d29e1313151 (patch) | |
tree | 38d0ac65b3a1303b97b9065aca308d44c3f4dbfa /lib/mprintf.c | |
parent | f623ad65e81c76f34130be272a4efe1d1abe1e13 (diff) |
vauth/cleartext: fix integer overflow check
Make the integer overflow check not rely on the undefined behavior that
a size_t wraps around on overflow.
Detected by lgtm.com
Closes #2408
Diffstat (limited to 'lib/mprintf.c')
0 files changed, 0 insertions, 0 deletions