[redland-dev] SEGV in rdfproc
Dave Beckett
dave.beckett at bristol.ac.uk
Wed Sep 1 18:13:46 BST 2004
On Wed, 1 Sep 2004, Richard Smith wrote:
> When I run
>
> mkdir -p store
> rdfproc store/rdf parse http://www.w3.org/1999/02/22-rdf-syntax-ns
> rdfproc store/rdf find - http://www.w3.org/1999/02/22-rdf-syntax-ns#type -
>
> the latter command produces a SEGV when using the version of
> rdfproc from redland-0.9.18. This appears to because the
> variable "results" declared in main() (on line 206 of
> rdfproc.c) is never initialised, but is still being
> dealloced (line 924). Zero-initalising "results" on line
> 206 fixes this bug.
Yeah bug, thanks. Caused when I split the query class
into query and results classes, forgot the init stage.
Commited to CVS
Dave
More information about the redland-dev
mailing list