Thread (1 message) 1 message, 1 author, 2016-07-17

Re: [patch] video: fbdev: pxafb: potential NULL dereference on error

From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: 2016-07-17 15:20:24
Also in: kernel-janitors, lkml

Dan Carpenter [off-list ref] writes:
If we "goto out;" then it calls display_timings_release(timings);
Since "timings" is NULL, that's going to oops.  Just return directly.

Fixes: 420a488278e8 ('video: fbdev: pxafb: initial devicetree conversion')
Signed-off-by: Dan Carpenter <redacted>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.

--
Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help