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

Re: svndumpfilter 1.4.4 (VC8 build) crash

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: 2007-06-22 20:01:03 CEST

On Thu, 21 Jun 2007, Daniel Rall wrote:

> On Thu, 21 Jun 2007, Jens Peters wrote:
...
> > Thank you for asking. There aren't any special chars in the props and I can
> > reproduce this crash with other dumpfiles as well. I do however took a look
> > at the trunk development of svndumpfilter and got curios about rev 23494.
> >
> > [svndumpfilter: don't use '%n' in printf strings.
> >
> > In VS2005, Microsoft has deprecated the use of %n as 'inherently
> > insecure' and turning it back on requires a special function call.
> >
> > Suggested by: djh
> > Jonathan Gilbert <o2w9gs702@sneakemail.com>
> >
> > * subversion/svndumpfilter/main.c
> > (write_prop_to_stringbuf, output_revision, output_node): Use the return
> > value of sprintf() to determine how many characters were written, rather
> > than using '%n' at the end of the string.]
> >
> > After applying this revision to 1.4.4 everything works as expected with
> > svndumpfilter build against libintl 0.14.6 VC8 build. So I would like to
> > ask if rev23494 can be backported to 1.4.x.
>
> So nominated, Jens.

And backported to the 1.4.x branch in r25499.

  • application/pgp-signature attachment: stored
Received on Fri Jun 22 20:00:55 2007

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.