diff options
author | hobbs <hobbs> | 2002-02-26 02:09:56 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-02-26 02:09:56 (GMT) |
commit | 3fe14a87d3988f8477a4b6fb2e29d201872d070e (patch) | |
tree | 0f4374d22055c382a2e5ad45fa49d011f84feab0 /unix | |
parent | 9a1be64616396b29d2c100d299456fb824c2010f (diff) | |
download | tcl-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 'unix')
0 files changed, 0 insertions, 0 deletions