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

Re: [PATCH] fix crash when merging

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 13 Jul 2008 11:33:34 +0200

On Sun, Jul 13, 2008 at 11:26:53AM +0200, Stefan Küng wrote:
> Stefan Sperling wrote:
> > On Sun, Jul 13, 2008 at 10:39:41AM +0200, Stefan Küng wrote:

> >> Index: subversion/libsvn_wc/props.c
> >> ===================================================================
> >> --- subversion/libsvn_wc/props.c (revision 32079)
> >> +++ subversion/libsvn_wc/props.c (working copy)
> >> @@ -212,7 +212,8 @@
> >> SVN_ERR(svn_wc__entry_versioned(&entry, path, adm_access, FALSE, pool));
> >>
> >> *reject_file = entry->prejfile
> >> - ? apr_pstrcat(pool, svn_wc_adm_access_path(adm_access), entry->prejfile)
> >> + ? apr_pstrcat(pool, svn_wc_adm_access_path(adm_access),
> >> + entry->prejfile, NULL)
> >
> > Such are the caveats of varargs. Applied in r32080
> > and nominated for backport in r32081.
>
> Thanks!

For the record, I've also grepped our entire tree for calls to
apr_pstrcat and looked at all of them. Turns out we made this
error only in the instance you just fixed.

Stefan

  • application/pgp-signature attachment: stored
Received on 2008-07-13 11:33:54 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.