tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e9e712b9f38c48654f2700a0b69da6ebdc5861dc

commit e9e712b9f38c48654f2700a0b69da6ebdc5861dc
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Dec 16 10:39:20 2015 +0000

    Elm win: Fix potential NULL deref.
    
    Looking at other parts of the code, this could actually be
    NULL.
    
    CID1343344
---
 src/lib/elm_win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 0012445..ad91669 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -851,6 +851,7 @@ static void
 _elm_win_pre_render(Ecore_Evas *ee)
 {
    Elm_Win_Data *sd = _elm_win_associate_get(ee);
+   if (!sd) return;
 
    if (sd->deferred_resize_job)
      _elm_win_resize_job(sd->obj);

-- 


Reply via email to