Re: EXT: [PATCH] log: improve handling of use-before-init

2018-05-28 Thread Pekka Paalanen
On Mon, 7 May 2018 06:23:07 + "Ray, Ian (GE Healthcare)" wrote: > > On 4 May 2018, at 17.26, Matt Hoosier wrote: > > > > Rather than segfaulting by attempting to traverse an initially > > null log handler pointer, explicitly print a message and abort. > > > > Signed-off-by: Matt Hoosier

Re: [PATCH] log: improve handling of use-before-init

2018-05-25 Thread Matt Hoosier
Any takers to accept this one? On Fri, May 4, 2018 at 9:26 AM, Matt Hoosier wrote: > Rather than segfaulting by attempting to traverse an initially > null log handler pointer, explicitly print a message and abort. > > Signed-off-by: Matt Hoosier > --- > libweston/log.c | 22 +++

Re: EXT: [PATCH] log: improve handling of use-before-init

2018-05-06 Thread Ray, Ian (GE Healthcare)
> On 4 May 2018, at 17.26, Matt Hoosier wrote: > > Rather than segfaulting by attempting to traverse an initially > null log handler pointer, explicitly print a message and abort. > > Signed-off-by: Matt Hoosier Nice improvement! Reviewed-by: Ian Ray > --- > libweston/log.c | 22

[PATCH] log: improve handling of use-before-init

2018-05-04 Thread Matt Hoosier
Rather than segfaulting by attempting to traverse an initially null log handler pointer, explicitly print a message and abort. Signed-off-by: Matt Hoosier --- libweston/log.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/libweston/log.c b/libweston/l