summaryrefslogtreecommitdiffstats
path: root/tests/info.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-01-15 19:04:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-01-15 19:04:52 (GMT)
commite0791bfa1b98a28520902dbb5018ffdcb5925860 (patch)
tree62d7ad4492040b25015df31bcb66429109d0964b /tests/info.test
parentb9663aff14aff96677a1252092a006ae19f81a8c (diff)
downloadtcl-e0791bfa1b98a28520902dbb5018ffdcb5925860.zip
tcl-e0791bfa1b98a28520902dbb5018ffdcb5925860.tar.gz
tcl-e0791bfa1b98a28520902dbb5018ffdcb5925860.tar.bz2
[2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.bug_2992970
Also moves overflow checking to TclAppendBytesToByteArray() and adds the ability to call TABTBA() with bytes==NULL, for appending unspecified bytes. That is, the string grows, but the new bytes are of undetermined value. Like Tcl_NewByteArrayObj(NULL, length) this option is useful for manipulating buffers. The TABTBA growth algorithm is also enhanced a bit, copying over a fuller implementation from GrowStringBuffer() in tclStringObj.c
Diffstat (limited to 'tests/info.test')
0 files changed, 0 insertions, 0 deletions