search for: 112bdc8

Displaying 3 results from an estimated 3 matches for "112bdc8".

2007 Feb 19
0
22 commits - libswfdec/js libswfdec/swfdec_debugger.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_script.c
...927d06c825430b89ed775925a6b9eb7578f22 (from bdb4e1d3d5946d82bd320c8a6b8090de02547aa8) Author: Benjamin Otte <otte@gnome.org> Date: Mon Feb 19 13:35:44 2007 +0100 Do not lookup flags from bytecode when using Flash bytecodes diff --git a/libswfdec/js/jsobj.c b/libswfdec/js/jsobj.c index 112bdc8..396c724 100644 --- a/libswfdec/js/jsobj.c +++ b/libswfdec/js/jsobj.c @@ -2469,7 +2469,7 @@ js_LookupPropertyWithFlags(JSContext *cx if (clasp->flags & JSCLASS_NEW_RESOLVE) { newresolve = (JSNewResolveOp)resolve; - if (cx->fp &amp...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...8c801b9c346ef7abc8ebd4a0453 (from abfaad4612d9129e2cf0de1402f623e22d356831) Author: Benjamin Otte <otte@gnome.org> Date: Tue Jan 30 12:34:20 2007 +0100 catch a case where fun->script is accessed unconditionally diff --git a/libswfdec/js/jsobj.c b/libswfdec/js/jsobj.c index 2033c97..112bdc8 100644 --- a/libswfdec/js/jsobj.c +++ b/libswfdec/js/jsobj.c @@ -2356,6 +2356,8 @@ Detecting(JSContext *cx, jsbytecode *pc) JSAtom *atom; script = cx->fp->script; + if (script == NULL) + return JS_FALSE; for (endpc = script->code + script->length; pc < endpc;...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...8c801b9c346ef7abc8ebd4a0453 (from abfaad4612d9129e2cf0de1402f623e22d356831) Author: Benjamin Otte <otte@gnome.org> Date: Tue Jan 30 12:34:20 2007 +0100 catch a case where fun->script is accessed unconditionally diff --git a/libswfdec/js/jsobj.c b/libswfdec/js/jsobj.c index 2033c97..112bdc8 100644 --- a/libswfdec/js/jsobj.c +++ b/libswfdec/js/jsobj.c @@ -2356,6 +2356,8 @@ Detecting(JSContext *cx, jsbytecode *pc) JSAtom *atom; script = cx->fp->script; + if (script == NULL) + return JS_FALSE; for (endpc = script->code + script->length; pc < endpc;...