kimcinoo pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=26b50c91f803d9669edfbc2ab6bad664f86f33a8
commit 26b50c91f803d9669edfbc2ab6bad664f86f33a8 Author: JunsuChoi <[email protected]> Date: Wed Aug 5 14:45:22 2020 +0900 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 --- src/lib/evas/filters/evas_filter_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, INSTR_PARAM_CHECK(src); INSTR_PARAM_CHECK(dst); - if (!strcasecmp(op, "vflip")) + if (op && !strcasecmp(op, "vflip")) flags = EVAS_FILTER_TRANSFORM_VFLIP; else { --
