summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2011-12-13 02:02:31 +0100
committerMaarten ter Huurne <maarten@treewalker.org>2011-12-13 02:08:34 +0100
commit27bda2c054f38cdd8b6a04fe939ea006535ae532 (patch)
tree2a51054fbd041f554c91d576785a76227eed02e0 /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
parentf3325036be4623b6c1e5a0babdb2c7e3cb643baa (diff)
Fixed range check on TryParse() for u32, again.
The code from 748be364e5ee incorrectly accepted -0x100000000 on x86_64. Also if ERANGE is returned by strtoul(), reject the parsed value regardless of what that value is. This fixes invalid values being returned when compiling with Visual C++. Thanks to "cotton" for testing this.
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions