summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-04-30 19:33:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-04-30 19:33:21 (GMT)
commit1264e873bbaae9d4328826b749e459e88b32e820 (patch)
treef0306671ad404be1a9052a821c3dadfb5185e7a7
parent75c22ad9870b02a3a9b9d213a1d38a1e93a7f7e7 (diff)
downloadtcl-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.c3
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!");
+ }
}
/*