Fix the prevent issue.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 01:03:54 +0000 (10:03 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 27 Jun 2013 01:03:54 +0000 (10:03 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] CID 62250
[problem] Use after free. Very specific case.
[cause] Use after free
[solution] Fix it, reset used pointer.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I3145f334de72b32945e4624c860c789b78509109

icon_src/script_handler.c

index 0571558..67b3dae 100644 (file)
@@ -1324,6 +1324,7 @@ HAPI int script_handler_parse_desc(Evas_Object *edje, const char *descfile)
                        }
 
                        consuming_parsed_block(edje, lineno, block);
+                       block = NULL;
                        state = UNKNOWN;
                        break;