summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2009-10-05 23:05:25 +0000
committerwtc%google.com <devnull@localhost>2009-10-05 23:05:25 +0000
commit1468a7ebddbefc73efa292031495e37c6312a139 (patch)
tree661ae7ee926057dbf8b31e305168a3b07d414888
parent7cb375cec1395aea18816a12db795355298447c4 (diff)
downloadnspr-hg-1468a7ebddbefc73efa292031495e37c6312a139.tar.gz
Bug 516396: Back out the input length check for PR_strtod. We need more
time to figure out how to check the input length correctly. Tag: NSPR_4_7_BRANCH
-rw-r--r--pr/src/misc/prdtoa.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pr/src/misc/prdtoa.c b/pr/src/misc/prdtoa.c
index 0889e678..1ec52daf 100644
--- a/pr/src/misc/prdtoa.c
+++ b/pr/src/misc/prdtoa.c
@@ -1759,8 +1759,6 @@ PR_strtod
else
s = s00;
}
- if (nd > 64 * 1024)
- goto ret0;
if (!nd) {
if (!nz && !nz0) {
#ifdef INFNAN_CHECK
@@ -1791,7 +1789,6 @@ PR_strtod
}
#endif /* INFNAN_CHECK */
ret0:
- PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
s = s00;
sign = 0;
}