diff --git a/hash.c b/hash.c index 6af8527e..0f728efa 100644 --- a/hash.c +++ b/hash.c @@ -427,7 +427,7 @@ xmlHashUpdateInternal(xmlHashTablePtr hash, const xmlChar *key, void *payload, xmlHashDeallocator dealloc, int update) { xmlChar *copy, *copy2, *copy3; xmlHashEntry *entry = NULL; - size_t lengths[3]; + size_t lengths[3] = {0, 0, 0}; unsigned hashValue; int found = 0;