projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6fcbf
)
cms-static: Don't crash on outputs with NULL name
author
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 27 May 2013 01:30:14 +0000
(21:30 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 27 May 2013 01:30:14 +0000
(21:30 -0400)
src/cms-static.c
patch
|
blob
|
history
diff --git
a/src/cms-static.c
b/src/cms-static.c
index
b3fbe5e
..
53f2f84
100644
(file)
--- a/
src/cms-static.c
+++ b/
src/cms-static.c
@@
-46,6
+46,8
@@
cms_output_created(struct cms_static *cms, struct weston_output *o)
weston_log("cms-static: output %i [%s] created\n", o->id, o->name);
+ if (o->name == NULL)
+ return;
s = weston_config_get_section(cms->ec->config,
"output", "name", o->name);
if (s == NULL)