projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a3d80
)
null initialization
25/97125/1
author
SooChan Lim
<sc1.lim@samsung.com>
Fri, 11 Nov 2016 07:56:06 +0000
(16:56 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Fri, 11 Nov 2016 07:56:06 +0000
(16:56 +0900)
LIST_FOR_EACH_ENTRY may use the uninitialized data.
Change-Id: I32efcdd051b71ee3d38c8a5d152066bd806284d5
src/tbm_bufmgr.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr.c
b/src/tbm_bufmgr.c
index
05d75f6
..
43bed67
100644
(file)
--- a/
src/tbm_bufmgr.c
+++ b/
src/tbm_bufmgr.c
@@
-423,7
+423,7
@@
_tbm_bo_unlock(tbm_bo bo)
static int
_tbm_bo_is_valid(tbm_bo bo)
{
- tbm_bo old_data;
+ tbm_bo old_data
= NULL
;
if (bo == NULL || gBufMgr == NULL) {
TBM_LOG_E("error: bo is NULL or tbm_bufmgr was deinited\n");