diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | generic/tclStrToD.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-10-13 Don Porter <dgp@users.sourceforge.net> + + * generic/tclStrToD.c (TclParseNumber): Missing goto caused crash + when parsing "Na". [Bug 1325833] + 2005-10-12 Don Porter <dgp@users.sourceforge.net> * generic/tclExecute.c (GetNumberFromObj): Restored some lost 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; |