diff options
author | dgp <dgp@users.sourceforge.net> | 2014-04-30 19:33:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-04-30 19:33:21 (GMT) |
commit | 1264e873bbaae9d4328826b749e459e88b32e820 (patch) | |
tree | f0306671ad404be1a9052a821c3dadfb5185e7a7 | |
parent | 75c22ad9870b02a3a9b9d213a1d38a1e93a7f7e7 (diff) | |
download | tcl-1264e873bbaae9d4328826b749e459e88b32e820.zip tcl-1264e873bbaae9d4328826b749e459e88b32e820.tar.gz tcl-1264e873bbaae9d4328826b749e459e88b32e820.tar.bz2 |
Panic message to pinpoint the cause of iocmd-21.23 segfault.
-rw-r--r-- | generic/tclIO.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 6831c47..0c9db67 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -4570,6 +4570,9 @@ FilterInputBytes( } bufPtr = statePtr->inQueueTail; gsPtr->bufPtr = bufPtr; + if (bufPtr == NULL) { + Tcl_Panic("GetInput nuked buffers!"); + } } /* |