CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 08/01/22 14:23:57
Modified files: . : ChangeLog testsuite/misc-ming.all: NetStream-SquareTest.c Log message: add a test segfaulting Gnash. See bug #22039. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5464&r2=1.5465 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c?cvsroot=gnash&r1=1.21&r2=1.22 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5464 retrieving revision 1.5465 diff -u -b -r1.5464 -r1.5465 --- ChangeLog 22 Jan 2008 12:53:54 -0000 1.5464 +++ ChangeLog 22 Jan 2008 14:23:56 -0000 1.5465 @@ -1,5 +1,10 @@ 2008-01-22 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-ming.all/NetStream-SquareTest.c: add a test + segfaulting Gnash. See bug #22039. + +2008-01-22 Sandro Santilli <[EMAIL PROTECTED]> + * server/sprite_instance.cpp (sprite_swap_depth): ignore the call when target and source characters have the same depth. * server/asobj/SharedObject.cpp (sharedobject_getlocal): register the Index: testsuite/misc-ming.all/NetStream-SquareTest.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -b -r1.21 -r1.22 --- testsuite/misc-ming.all/NetStream-SquareTest.c 22 Jan 2008 10:13:16 -0000 1.21 +++ testsuite/misc-ming.all/NetStream-SquareTest.c 22 Jan 2008 14:23:57 -0000 1.22 @@ -84,6 +84,9 @@ "nc.connect(null);" "check(!NetStream.prototype.hasOwnProperty('currentFPS'));" // version 7 here "xcheck(!NetStream.prototype.hasOwnProperty('currentFps'));" + "stream = new NetStream();" + "check_equals ( typeof(stream.bytesTotal), 'undefined' );" // not connected.. + "stream.play('fake');" // just test not to segfault.. "stream = new NetStream(nc);" "check_equals ( typeof(stream.bytesTotal), 'number' );" "stream.bytesTotal = 'string';" @@ -364,7 +367,7 @@ SWFMovie_nextFrame(mo); - SWFMovie_add(mo, (SWFBlock)newSWFAction("totals(100); stop();")); + SWFMovie_add(mo, (SWFBlock)newSWFAction("totals(101); stop();")); SWFMovie_nextFrame(mo); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit