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

Re: core dump with svn r6178

From: Christian Daudt <csd_ob_at_daudt.org>
Date: 2003-06-19 22:19:07 CEST

On Thursday 19 June 2003 11:42, cmpilato@collab.net wrote:
> Christian Daudt <csd_ob@daudt.org> writes:
> > But the fact is that, regardless of the problem that caused the code
> > to call stringbuf_set with null (which remains to be fixed) ,
> > svn_stringbuf_set shouldn't coredump because it received a value it
> > doesn't like.
> On the contrary, we specifically allow that function to segfault on
> bad input because it helps us to find *real* bugs in the code. If we
> simply papered over the problem, we'd have a much harder time tracking
> down, for example, the bug you're seeing. And for what gain?

So someone else doesn't spend a morning trying to figure why they're getting
coredumps all of the sudden...
 Here is an alternative patch.


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

Received on Thu Jun 19 22:21:53 2003

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.