diff options
author | Maganty Rushyendra <mrushyendra@yahoo.com.sg> | 2020-07-01 15:13:12 +0800 |
---|---|---|
committer | Maganty Rushyendra <mrushyendra@yahoo.com.sg> | 2020-07-02 09:58:23 +0800 |
commit | 687b127fc569964b600b6ce558ded8d82ec625c7 (patch) | |
tree | 7634368a7df89f2a84b8a0aa75c29445a7862129 /editor/plugin_config_dialog.cpp | |
parent | 0a8dbe7f75f2999e0f73af83dda3510c965f2b94 (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 'editor/plugin_config_dialog.cpp')
0 files changed, 0 insertions, 0 deletions