diff options
| author | Miguel Sofer <miguel.sofer@gmail.com> | 2006-03-09 22:00:57 (GMT) |
|---|---|---|
| committer | Miguel Sofer <miguel.sofer@gmail.com> | 2006-03-09 22:00:57 (GMT) |
| commit | 792b4b1dc6cd4609e97d736915bcd6ba2bba5ee8 (patch) | |
| tree | 2ab85b290f843c3163c129954ea0a95909ce29f5 | |
| parent | 00d47212a3c389171f6518e2056ab32d7df03d3e (diff) | |
| download | tcl-792b4b1dc6cd4609e97d736915bcd6ba2bba5ee8.zip tcl-792b4b1dc6cd4609e97d736915bcd6ba2bba5ee8.tar.gz tcl-792b4b1dc6cd4609e97d736915bcd6ba2bba5ee8.tar.bz2 | |
* generic/tclPanic.c (Tcl_PanicVA): added an unconditional abort
at the end, to insure that a panic cannot return even if the
actual procedure was overriden by a Tcl_SetPanicProc() call. Bug
caught by looking at Coverity's analysis.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | generic/tclPanic.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2006-02-09 Miguel Sofer <msofer@users.sf.net> + + * generic/tclPanic.c (Tcl_PanicVA): added an unconditional abort + at the end, to insure that a panic cannot return even if the + actual procedure was overriden by a Tcl_SetPanicProc() call. Bug + caught by looking at Coverity's analysis. + 2006-03-09 Vince Darley <vincentdarley@sourceforge.net> * win/tclWinFile.c: fix to 'file writable' in certain XP diff --git a/generic/tclPanic.c b/generic/tclPanic.c index e7cac47..fb0d69b 100644 --- a/generic/tclPanic.c +++ b/generic/tclPanic.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclPanic.c,v 1.8 2005/11/07 15:27:02 dkf Exp $ + * RCS: @(#) $Id: tclPanic.c,v 1.9 2006/03/09 22:00:59 msofer Exp $ */ #include "tclInt.h" @@ -100,8 +100,8 @@ Tcl_PanicVA( arg7, arg8); (void) fprintf(stderr, "\n"); (void) fflush(stderr); - abort(); } + abort(); } /* |
