summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-12-05 20:25:25 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-05 20:25:26 +0900
commitc1f3ad86dfa30f968c1fbf2e065bbe370435ee66 (patch)
treeb3d49792ee90799f9212eb4bde3c639e19ee9d5b /src/lib/ector
parenta5837cb4ed0d9dabde8d92dbb69dfbdcaa891a71 (diff)
Ector: Prevent access to NULL
Summary: ector thread can called *data(task) after deleting task object. Test Plan: N/A Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10804
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/software/ector_renderer_software_shape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ector/software/ector_renderer_software_shape.c b/src/lib/ector/software/ector_renderer_software_shape.c
index 601d03cf9f..573774d561 100644
--- a/src/lib/ector/software/ector_renderer_software_shape.c
+++ b/src/lib/ector/software/ector_renderer_software_shape.c
@@ -570,8 +570,8 @@ static void
570_done_rle(void *data) 570_done_rle(void *data)
571{ 571{
572 Ector_Software_Shape_Task *task = data; 572 Ector_Software_Shape_Task *task = data;
573 573 if (task && task->pd)
574 task->pd->done = EINA_TRUE; 574 task->pd->done = EINA_TRUE;
575} 575}
576 576
577static void 577static void