summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorandy <andrew.m.goth@gmail.com>2016-12-25 00:23:21 (GMT)
committerandy <andrew.m.goth@gmail.com>2016-12-25 00:23:21 (GMT)
commit14ff1705d414d9d1f5be2d0bb3d8b384c0eb4717 (patch)
tree46b3786105ed8a0344fee8d37aaf428555960d8e /unix/tclUnixSock.c
parent7fe6eb2132c91bfbdef212a8d687868a1393df03 (diff)
downloadtcl-14ff1705d414d9d1f5be2d0bb3d8b384c0eb4717.zip
tcl-14ff1705d414d9d1f5be2d0bb3d8b384c0eb4717.tar.gz
tcl-14ff1705d414d9d1f5be2d0bb3d8b384c0eb4717.tar.bz2
Do not deallocate Tcl_ArraySearchStart()-initiated array searches when Tcl_ArraySearchPeek() or Tcl_ArraySearchNext() is called, only when Tcl_ArraySearchDone() is called. This avoids a crash should user code unconditionally call Tcl_ArraySearchDone() at the end of an array enumeration loop. This change does not affect array searches initiated by the Tcl script command [array startsearch].
Diffstat (limited to 'unix/tclUnixSock.c')
0 files changed, 0 insertions, 0 deletions