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

Re: Adapting svnstsw to use Subversion's build system

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: Tue, 06 May 2008 16:46:48 -0400

I believe the code is already using APR.

I don't think using APR is a big deal for this. If APR has in-built
security vulnerabilities due to coding flaws, they probably affect
Apache httpd, which is going to be a much bigger deal than a security
elevation exploit in svnstsw.

On Tue, 2008-05-06 at 21:41 +0100, Max Bowsher wrote:
> Karl Fogel wrote:
> > Richard Hansen <rhansen_at_bbn.com> writes:
> >> The variable-length array usage is probably hardest to work around. A
> >> functional snprintf is likely to be available, but if not, I can
> >> probably steal snprintf from <http://www.ijs.si/software/snprintf/> or
> >> one of the BSDs.
> >
> > Well, you can also use anything APR or APR-UTIL provides, since
> > Subversion already depends on them. There is an apr_snprintf().
> >
> > There may be other things you can use to replace the variable-length
> > arrays. Like
> >
> > svn_string_t
> > svn_stringbuf_t
> > apr_array_header_t
> >
> > ?
>
> Hmm, I think I'd prefer my setuid binaries to be sticking with C
> builtins over library functions where possible, in the name of
> minimizing the amount of code that runs with elevated privileges.
>
> Max.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-06 22:48:47 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.