summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-08-05 14:45:22 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2020-08-05 14:45:22 +0900
commit26b50c91f803d9669edfbc2ab6bad664f86f33a8 (patch)
tree81ad4b7e9c2332a196ae98d5ef62f7b2f54429b3 /src/lib/evas
parentf126c7f06c63405424fb71c0cb37bd503427a9ba (diff)
evas_filter: Add null check for instruction
Summary: Add a null check for cases where the param passed from the filter instruction can be a null pointer. Test Plan: N/A Reviewers: kimcinoo, Hermet Subscribers: #reviewers, #committers, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D12084
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index 19de8249b2..a53a3dd89e 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -3436,7 +3436,7 @@ _instr2cmd_transform(Evas_Filter_Context *ctx,
3436 INSTR_PARAM_CHECK(src); 3436 INSTR_PARAM_CHECK(src);
3437 INSTR_PARAM_CHECK(dst); 3437 INSTR_PARAM_CHECK(dst);
3438 3438
3439 if (!strcasecmp(op, "vflip")) 3439 if (op && !strcasecmp(op, "vflip"))
3440 flags = EVAS_FILTER_TRANSFORM_VFLIP; 3440 flags = EVAS_FILTER_TRANSFORM_VFLIP;
3441 else 3441 else
3442 { 3442 {