[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #42200] Segfault in bitmapdata_copyPixels()
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [bug #42200] Segfault in bitmapdata_copyPixels() |
Date: |
Sat, 26 Apr 2014 10:51:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Follow-up Comment #1, bug #42200 (project gnash):
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().
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42200>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/