Re: [PATCH] config: verify that the config file has been parsed

2013-09-25 Thread Kristian Høgsberg
On Wed, Sep 25, 2013 at 01:34:17PM +0100, Alex DAMIAN wrote: > From: Alexandru DAMIAN > > weston_config_parse may return NULL, leading > to an ungraceful exit via SIGSEGV. > > Adding a nice check that gracefully exits the compositor > when the config.ini parsing failed. Ah, the problem is actua

[PATCH] config: verify that the config file has been parsed

2013-09-25 Thread Alex DAMIAN
From: Alexandru DAMIAN weston_config_parse may return NULL, leading to an ungraceful exit via SIGSEGV. Adding a nice check that gracefully exits the compositor when the config.ini parsing failed. Signed-off-by: Alexandru DAMIAN --- src/compositor.c | 4 1 file changed, 4 insertions(+) d