You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@red-bean.com> on 2008/07/01 15:21:21 UTC

Re: [PATCH] pre 1.5 api bug, bad array allocation.

Martin Hauner <ma...@gmx.net> writes:
> here is a small patch fixing a bad array allocation in 1.5 in the pre
> 1.5 commit api. Since we are pushing pointers into the array, we should give
> it the pointer size and not the struct size. The old code inserts the pointer
> elements in a distance of 28 bytes.
>
> I also changed a wrong parameter for log_msg_func2, at least it looks wrong
> to me. I'm still running the log_msg_func code so i didn't step through that
> path.

Thanks for fixing these -- committed in r31944, and nominated for
backport to 1.5.1.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org