reassign 378173 libsdl-image1.2 1.2.5-1
tags 378173 + upstream
forwarded 378173 http://bugzilla.libsdl.org/show_bug.cgi?id=284
thanks

As I said earlier, this is a bug in libsdl-image1.2, the current version
(uploaded a month ago) is filled with calls to functions that don't check
if the variable is NULL:

        start = SDL_RWtell(src);

And SDL_RWtell is a macro, defined in /usr/include/SDL/SDL_rwops.h:
#define SDL_RWtell(ctx)                    (ctx)->seek(ctx, 0, RW_SEEK_CUR)

I've been reviewing the code and there are several of these.  I can provide
a patch that fixes the segfault for sear, but segfaults for some other of
libsdl-image1.2 reverse dependencies might still turn up, since this is
done pretty carelessly.

Therefore, I think I'll try to provide a full patch for all the messy
calls.  Upstream will need to deal with this, anyway.

-- 
 Bessos,    (o_
    Marga.  (\)_


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to