summaryrefslogtreecommitdiffstats
path: root/mac/tclMacInit.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-26 02:09:56 (GMT)
committerhobbs <hobbs>2002-02-26 02:09:56 (GMT)
commit3fe14a87d3988f8477a4b6fb2e29d201872d070e (patch)
tree0f4374d22055c382a2e5ad45fa49d011f84feab0 /mac/tclMacInit.c
parent9a1be64616396b29d2c100d299456fb824c2010f (diff)
downloadtcl-3fe14a87d3988f8477a4b6fb2e29d201872d070e.zip
tcl-3fe14a87d3988f8477a4b6fb2e29d201872d070e.tar.gz
tcl-3fe14a87d3988f8477a4b6fb2e29d201872d070e.tar.bz2
* generic/tclHash.c (AllocArrayEntry, AllocStringEntry):
Before invoking ckalloc when creating a Tcl_HashEntry, check that the amount of memory being allocated is at least as large as sizeof(Tcl_HashEntry). The previous code was allocating memory regions that were one or two bytes short. [Bug #521950] (dejong)
Diffstat (limited to 'mac/tclMacInit.c')
0 files changed, 0 insertions, 0 deletions