projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f242b69
)
clients: Fix null dereferencing
53/280853/1
accepted/tizen/unified/20220908.013417
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 6 Sep 2022 01:36:38 +0000
(10:36 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Tue, 6 Sep 2022 01:57:03 +0000
(10:57 +0900)
Change-Id: Ibce07f092400ecedbe3ad93d220c06fe3c87f97a
clients/simple-shm-shell.c
patch
|
blob
|
history
diff --git
a/clients/simple-shm-shell.c
b/clients/simple-shm-shell.c
index
cbcdf97
..
2ca0717
100644
(file)
--- a/
clients/simple-shm-shell.c
+++ b/
clients/simple-shm-shell.c
@@
-250,7
+250,8
@@
int main (void)
/* create test info */
ti = _create_wl_test_info ();
- GOTO_IF_FAIL(ti != NULL, fail);
+ if (!ti)
+ return -1;
/* init */
ti->width = BUF_WIDTH;