summaryrefslogtreecommitdiff
path: root/tests/test_xpath_parse.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-17 10:33:50 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-17 10:33:50 -0700
commit0e09571f21d41969a26e9ec73ef0da78d9371d38 (patch)
treef4e921109fc05c4595f92e835a3c3ab3488a0868 /tests/test_xpath_parse.cpp
parente8e54ea5de080d33780c68847057adf82c12ec16 (diff)
Fix integer overflow detection with leading zeros
Since they don't contribute to the resulting value just skip them before parsing. This matches the behavior of strtol/strtoll and results in more intuitive behavior.
Diffstat (limited to 'tests/test_xpath_parse.cpp')
0 files changed, 0 insertions, 0 deletions