Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2008 20:16:35 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
Cc:        ports@freebsd.org, gnome@freebsd.org, Alexander Nedotsukov <bland@freebsd.org>
Subject:   Re: [patch] glib20, UTF-8 and string collation
Message-ID:  <1199927795.304.70.camel@shumai.marcuscom.com>
In-Reply-To: <1199925635.9959.10.camel@RabbitsDen>
References:  <1199893999.756.29.camel@RabbitsDen> <1199900104.304.28.camel@shumai.marcuscom.com> <1199925635.9959.10.camel@RabbitsDen>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On Wed, 2008-01-09 at 19:40 -0500, Alexandre "Sunny" Kovalenko wrote:
> On Wed, 2008-01-09 at 12:35 -0500, Joe Marcus Clarke wrote: 
> > On Wed, 2008-01-09 at 10:53 -0500, Alexandre "Sunny" Kovalenko wrote:
> > > I have seen recent commit WRT string collation in devel/glib20 by
> > > marcus, so I have decided to check if there is an interest to fix SEGV
> > > in g_utf8_collate when it is given 8-bit non-UTF-8 string(s) to collate.
> > 
> > Any commits I have made in the area of UTF-8 are completely accidental.
> > I am not the UTF-8 guy.  Both bland and jylefort have expressed interest
> > in this.  Perhaps one of them will comment.
> 
> I hope so. Just in case, they would decide to, I have reduced the
> situation to the small program below. I get 
> 
> GLib-CRITICAL **: g_convert: assertion `str != NULL' failed
> 
> and no core dump from this simple program, whereas Evolution manages to
> pass NULL to strcoll further down in g_utf8_collate and get SEGV for its
> pains.

That sounds like a no-no for Evolution to be dereferencing a NULL
pointer.  Hopefully they'd fix this to prevent the problem.

> 
> Conversely, if the answer still is "Evolution should not have done
> that", I will happily crawl back under my rock and keep my patch
> locally.

I can't imagine you're alone in this.  But then again, any Cyrillic mail
that comes my way is always spam, so what do I know.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBHhXHzb2iPiv4Uz4cRApNhAJ9m/nq1K6lz9aH0+0WnAAtJRMzBqgCbBQKf
H39qAn56D0eBX/UlYlH5NUA=
=GRO8
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1199927795.304.70.camel>