Re: [evolution-patches] patch for #42212
- From: Not Zed <notzed ximian com>
- To: JP Rosevear <jpr ximian com>
- Cc: Rodrigo Moya <rodrigo ximian com>, Evolution Patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] patch for #42212
- Date: 08 May 2003 13:25:41 +0930
Note that the bug is about a hang, the crash during closedown is a
forced one, as far as can be ascertained at least.
On Thu, 2003-05-08 at 08:59, JP Rosevear wrote:
> On Wed, 2003-05-07 at 18:22, Rodrigo Moya wrote:
> > On Wed, 2003-05-07 at 18:30, JP Rosevear wrote:
> > > If we're going to making passing a null string an invalid param, we need
> > > to check everywhere that we don't pass a null param in.
> > >
> > all callers of e_uri_new are expected to check the return value, since
> > the URI might be an invalid one. A grep over the sources shows that all
> > cases check for the return value.
>
> Yes, but g_return_val_if_fail implies that a NULL uri string should
> never be passed in at all. If its allowed, then the check should be
>
> if (!string)
> return;
>
> or something similar.
>
> -JP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]