seoz pushed a commit to branch master.

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

commit e3834090e4c98259e60761f52892f9a55f2f19e6
Author: Daniel Juyung Seo <[email protected]>
Date:   Wed Aug 6 09:01:26 2014 +0900

    win: initialize the internal variable. fixed uninitialized pointer read.
    
    This fixes coverity CID 1230297.
---
 src/lib/elm_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 1a29b69..4020269 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2931,7 +2931,7 @@ static Eina_Bool
 _accel_is_gl(void)
 {
    const char *env = NULL;
-   const char *str;
+   const char *str = NULL;
 
    if (_elm_config->accel) str = _elm_config->accel;
    if (_elm_accel_preference) str = _elm_accel_preference;

-- 


Reply via email to