diff options
author | dgp <dgp@users.sourceforge.net> | 2005-10-13 15:15:28 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-10-13 15:15:28 (GMT) |
commit | b0c0e2bc72396d792444a4928aa62bad54c048cf (patch) | |
tree | 9bea04e56593787b941689c44f2d086013f3c86e /generic | |
parent | 6d1c7dd61a455560455388623e206dcba441ec2a (diff) | |
download | tcl-b0c0e2bc72396d792444a4928aa62bad54c048cf.zip tcl-b0c0e2bc72396d792444a4928aa62bad54c048cf.tar.gz tcl-b0c0e2bc72396d792444a4928aa62bad54c048cf.tar.bz2 |
* generic/tclStrToD.c (TclParseNumber): Missing goto caused crash
when parsing "Na". [Bug 1325833]
Diffstat (limited to 'generic')
-rwxr-xr-x | generic/tclStrToD.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index f733a7c..e4d7e18 100755 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStrToD.c,v 1.10 2005/10/09 20:05:24 msofer Exp $ + * RCS: @(#) $Id: tclStrToD.c,v 1.11 2005/10/13 15:15:28 dgp Exp $ * *---------------------------------------------------------------------- */ @@ -814,6 +814,7 @@ TclParseNumber( Tcl_Interp* interp, state = sNAN; break; } + goto endgame; case sNAN: acceptState = state; acceptPoint = p; |