diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-01-20 11:34:01 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-01-20 11:34:01 -0800 |
commit | f13d510cf267c27f4c123494de67670ec201cedc (patch) | |
tree | 2b5e279bef4fb9eb4a3a7e963cae93c65bc80fba /fpdfsdk/src/fpdfppo.cpp | |
parent | b196c7bebad66c9938d2705ccf64961bcdd774e2 (diff) | |
download | pdfium-f13d510cf267c27f4c123494de67670ec201cedc.tar.xz |
Bugs in CJS_PublicMethods::ParseNumber().
Fix the bugs by removing ParseNumber() entirely.
For PDFium's JavaScript bindings, we want to get out of the
numeric conversion business and inflict that on V8 as
possible, avoiding platform-specific issue in strtod().
For other uses, there is a FX_atof() which is similarly
buggy, but we can consolidate the use. Add an overloaded
FX_atof() to handle wide strings more simply.
BUG=pdfium:361
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/1586203006 .
Diffstat (limited to 'fpdfsdk/src/fpdfppo.cpp')
0 files changed, 0 insertions, 0 deletions