[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug in APR hash resizing? (patch included)

From: Tony Finch <dot_at_dotat.at>
Date: 2000-10-29 16:25:14 CET

Karl Fogel <kfogel@galois.collab.net> wrote:
>I think there is a bug in how APR resizes hash tables.

Thanks for spotting it and providing a patch. I will commit a slightly
different patch (when I get off the plane) for a couple of reasons:
there's an off-by-one error in the array allocation because you define
alloc_array() to take the array length but you call it with the
maximum index; and there's a minor stylistic error.

Tony.

-- 
en oeccget g mtcaa    f.a.n.finch
v spdlkishrhtewe y    dot@dotat.at
eatp o v eiti i d.    fanf@covalent.net
Received on Sat Oct 21 14:36:13 2006

This is an archived mail posted to the Subversion Dev mailing list.