swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Access Violation in swf_GetU8


From: Romi Kuntsman
Subject: Re: [Swftools-common] Access Violation in swf_GetU8
Date: Mon, 1 Oct 2012 01:03:20 +0200

There are a few other places with "*(int*)0=0;" (or similar intentional access violation) in the code, did you fix them as well?
Please publish an updated release build after the fix, thanks!

On Mon, Oct 1, 2012 at 12:57 AM, Matthias Kramm <address@hidden> wrote:
On Sun, Sep 02, 2012 at 12:47:04PM +0300, Romi Kuntsman <address@hidden> wrote:
> U8 swf_GetU8(TAG * t)
> { swf_ResetReadBits(t);
>   #ifdef DEBUG_RFXSWF
>     if ((int)t->pos>=(int)t->len)
>     { fprintf(stderr,"GetU8() out of bounds: TagID = %i\n",t->id);
>       *(int*)0=0;
>       return 0;
>     }
>   #endif
>   return t->data[t->pos++];
> }

Fixed, thanks.

Matthias

---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]