win: fix a possible crash in elm_win_add

Desktop / Enlightenment / Elementary - Youngbok Shin [samsung.com] - 5 February 2016 01:45 UTC

Summary: The enginelist[0] can be NULL in some very rare cases. Then enginelist[0] will be used for strcmp and it make a crash. @fix

Test Plan: N/A

Reviewers: raster, cedric, woohyun, jypark, jaehwan

Differential Revision: https://phab.enlightenment.org/D3649

adc6e4e win: fix a possible crash in elm_win_add
src/lib/elm_win.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Upstream: git.enlightenment.org


  • Share