[redland-dev] Segfault with rdf_hash.c

Dave Beckett dave.beckett at bristol.ac.uk
Mon Jun 13 09:59:43 BST 2005


On Sun, 12 Jun 2005 22:00:02 +0200, Danny Ayers <danny.ayers at gmail.com> wrote:

> The following seems to have stopped it, whether this causes problems
> elsewhere I don't yet know...
> 
> redland-1.0.2/librdf/rdf_hash.c
> 
> 781c781,782
> <   context->key->data=NULL;
> ---
> >   if(context->key)
> >     context->key->data=NULL;

Could you give an example of causing that?  Otherwise I'm tempted to
add an assertion block that causes the program to die when it happens next,
for finding out :)

Dave


More information about the redland-dev mailing list