I just fixed it :).
Attached patch will initialize possibleNames with 0 bytes to make sure
we always have the name 0 terminated properly.
and it will move the pBuf=pBufRes into the check for ifBufRes != NULL,
in case no filesize is found (because of another apache is displaying
it differently)
Shouldn't break existing setups.


On Wed, Jun 26, 2013 at 2:51 PM, Mark Trompell <m...@foresightlinux.org> wrote:
> I'm trying to access a http repository (http://marktrompell.de/sword/)
> installmgr -r works fine, -rl too but installmgr segfaults on -ri
> Same for Xiphos, I can refresh and see what modules are there, but it
> crashes when I try to install.
> Probably the repository isn't properly setup, but nevertheless sword
> shouldn't crash.
> Attaching 2 backtraces, one from installmgr and the otherone from xiphos.
>
> Blessings
> Mark
> --
> Mark Trompell
>
> Foresight Linux Xfce Edition
> Cause your desktop should be freaking cool
> (and Xfce)



-- 
Mark Trompell

Foresight Linux Xfce Edition
Cause your desktop should be freaking cool
(and Xfce)

Attachment: fix_curl_http_crash.patch
Description: Binary data

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to