From b0c0e2bc72396d792444a4928aa62bad54c048cf Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 13 Oct 2005 15:15:28 +0000 Subject: * generic/tclStrToD.c (TclParseNumber): Missing goto caused crash when parsing "Na". [Bug 1325833] --- ChangeLog | 5 +++++ generic/tclStrToD.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 37fca42..396cc6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-13 Don Porter + + * generic/tclStrToD.c (TclParseNumber): Missing goto caused crash + when parsing "Na". [Bug 1325833] + 2005-10-12 Don Porter * 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; -- cgit v0.12