elm: prevent from accessing null pointer after memory allocation
authorWooHyun Jung <wh0705.jung@samsung.com>
Tue, 29 Jan 2019 14:23:44 +0000 (09:23 -0500)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 31 Jan 2019 02:19:59 +0000 (11:19 +0900)
commitfab44b43eaba0c9486770ca87457f5b42b625da1
tree97ae7c60f159ddd77e9851bd4f3e374fd019523d
parente49f26f8a6ae40f5bd8327a0615da3b54cc63121
elm: prevent from accessing null pointer after memory allocation

Summary: Add null checking code just after allocating memory

Test Plan: make check

Reviewers: jypark, Jaehyun_Cho, zmike

Reviewed By: Jaehyun_Cho, zmike

Subscribers: devilhorns, zmike, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7801
12 files changed:
src/lib/elementary/efl_access_object.c
src/lib/elementary/efl_page_transition_scroll.c
src/lib/elementary/efl_ui_progressbar.c
src/lib/elementary/efl_ui_table.c
src/lib/elementary/efl_ui_widget.c
src/lib/elementary/elm_code.c
src/lib/elementary/elm_code_file.c
src/lib/elementary/elm_code_line.c
src/lib/elementary/elm_code_widget.c
src/lib/elementary/elm_code_widget_text.c
src/lib/elementary/elm_code_widget_undo.c
src/lib/elementary/elm_theme.c