bugGnash - The GNU Flash player - Bugs: bug #22318, zero-sized array assertion failure...

 
 

bug #22318: zero-sized array assertion failure (malformed SWF)

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Fri 15 Feb 2008 11:42:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 16 Feb 2008 09:20:24 AM UTC, comment #2:

Using to_int() instead of to_number() fixed this.
Reading at the code, it seems to_int() always return
an unsigned value, so maybe it should be called
to_uint() and return unsigned directly...

I left the >=0 assertion in, because of that.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 15 Feb 2008 11:47:13 AM UTC, comment #1:

(File was too large)

(file #15041)

Benjamin Wolsey <bwy>
Project Member
Fri 15 Feb 2008 11:42:40 AM UTC, original submission:

Some more exotic malformed SWF failures.

lt-gtk-gnash: ASHandlers.cpp:2858: static void gnash::SWF::SWFHandlers::ActionInitArray(gnash::ActionExec&): Zusicherung »array_size >= 0« nicht erfüllt.

#3 0x00002ac5d22d0faa in gnash::SWF::SWFHandlers::ActionInitArray (
thread=@0x7fffd8dff690) at ASHandlers.cpp:2858
#4 0x00002ac5d2311ce4 in gnash::ActionExec::operator() (this=0x7fffd8dff690)
at ActionExec.cpp:347
#5 0x00002ac5d21ac4f1 in gnash::GlobalCode::execute (
this=<value optimized out>) at ../server/vm/ExecutableCode.h:77
#6 0x00002ac5d21a66c5 in gnash::movie_root::processActionQueue (
this=0x9ca960, lvl=<value optimized out>) at movie_root.cpp:1323
#7 0x00002ac5d21a674d in gnash::movie_root::processActionQueue (this=0x9ca960)
at movie_root.cpp:1390
#8 0x00002ac5d21aa236 in gnash::movie_root::advance (this=0x9ca960)
at movie_root.cpp:1018

Benjamin Wolsey <bwy>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15041:  pulp.cut.zzuf.829.swf added by bwy (10KiB - application/x-shockwave-flash)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bwy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 16 Feb 2008 02:09:03 PM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 16 Feb 2008 09:20:24 AM UTCstrkStatusNone=>Ready For Test
      Assigned toNone=>strk
    Fri 15 Feb 2008 11:47:13 AM UTCbwyAttached File-=>Added pulp.cut.zzuf.829.swf, #15041

    Back to the top


    Powered by Savane 3.1-cleanup1