summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorV Narayanan <v.narayanan@sun.com>2009-06-19 17:29:21 +0530
committerV Narayanan <v.narayanan@sun.com>2009-06-19 17:29:21 +0530
commit728d3c39de931d268db9218fbbf1028d90154758 (patch)
tree434ed5bfe3e137ce745b237f9baacff9adc34715 /scripts
parent2b48caa42dc69a802598dcf165226c98434c9598 (diff)
downloadmariadb-git-728d3c39de931d268db9218fbbf1028d90154758.tar.gz
Bug#43572 Handle failures from hash_init
Failure to allocate memory for the hash->array element, caused hash_init to return without initializing the other members of the hash. Thus although the dynamic array buffer may be allocated at a later point in the code, the incompletely initialized hash caused fatal failures. This patch moves the initialization of the other members of the hash above the array allocation, so that the usage of this hash will not result in fatal failures.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions