bugGnash - The GNU Flash player - Bugs: bug #42200, Segfault in bitmapdata_copyPixels()

 
 

bug #42200: Segfault in bitmapdata_copyPixels()

Submitter:  Bastiaan Jacques <bjacques>
Submitted:  Sat 26 Apr 2014 10:15:25 AM UTC
   
 
Category:  core Severity:  6 - Security
Release:  master Status:  Fixed
Privacy:  Public Assigned to:  bjacques
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 May 2014 10:22:31 PM UTC, comment #2: 

Fixed in 0cdd056bf140.

Bastiaan Jacques <bjacques>
Group Member
Sat 26 Apr 2014 10:51:35 AM UTC, comment #1: 

The AS is approximately like this:


img = new flash.display.BitmapData(300,600);
img2 = img.clone();
temp = img.clone();
img.merge(img2,Rt,null,red,green,blue);

temp.copyPixels(img,Rt,null);


The problem seems to be that the third argument of copyPixels is null (as_value NULLTYPE), whereas bitmapdata_copyPixels() assumes it is an as_value that converts to an object, by not checking the return value from toObject().

Bastiaan Jacques <bjacques>
Group Member
Sat 26 Apr 2014 10:15:25 AM UTC, original submission:  
Bastiaan Jacques <bjacques>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bjacques (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-13 bjacques StatusNone Fixed
        Assigned toNone bjacques
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code