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

Re: crash when fetching status

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-11-04 15:42:52 CET

Folker Schamel wrote:
> If you worry about fixing a) makes it harder to understand b),
> then there should be better ways to go.

Yes.

In this particular case, an appropriate temporary measure might be to add:

   if (that pointer == NULL)
     return svn_error_create ("Invalid status result");

thus avoiding the crash but making it clear that this situation is still a bug
and needs to be investigated and fixed.

Of course, it would only be necessary to do this if we cannot find the real
problem before the next patch release is made.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 4 15:43:27 2004

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.