Bug#552570: bibutils: xml2bib segfaults for large xml files on i386 arch

Andreas Tille tillea at rki.de
Fri Oct 30 08:16:32 UTC 2009


On Fri, 30 Oct 2009, David Bremner wrote:

> The following patch seems to fix it for me. I may as well do a new
> upstream release as well as the bug fix, so it will take a bit longer.
>
> diff --git a/lib/name.c b/lib/name.c
> index 94a225c..e1dec3a 100644
> --- a/lib/name.c
> +++ b/lib/name.c
> @@ -185,6 +185,7 @@ name_comma( char *p, newstr *outname )
>
>        /** Last name **/
>        start_last = skip_ws( p );
> +       end_last = string_end(p);
>        while ( *p && ( *p!=',' ) ) {
>                newstr_addchar( outname, *p++ );
>                end_last = p;

I tried this patch but it does not work for me.

Kind regards

           Andreas.





More information about the debian-science-maintainers mailing list