summaryrefslogtreecommitdiff
path: root/core/os/midi_driver.h
diff options
context:
space:
mode:
authorMaganty Rushyendra <mrushyendra@yahoo.com.sg>2020-07-01 15:13:12 +0800
committerMaganty Rushyendra <mrushyendra@yahoo.com.sg>2020-07-02 09:58:23 +0800
commit687b127fc569964b600b6ce558ded8d82ec625c7 (patch)
tree7634368a7df89f2a84b8a0aa75c29445a7862129 /core/os/midi_driver.h
parent0a8dbe7f75f2999e0f73af83dda3510c965f2b94 (diff)
Fix overflow and underflow checks for string conversion to int
Current error checks for to_int and to_int64 do not issue overflow error messages for INT64_MAX + 1, INT64_MAX + 2, and other numbers close to the integer limits. Likewise, error checks for hex_to_int, hex_to_int64 and bin_to_int64 issue false positive error messages for INT64_MIN or INT32_MIN. This commit fixes these error checks.
Diffstat (limited to 'core/os/midi_driver.h')
0 files changed, 0 insertions, 0 deletions