[PATCH 1/4] video: fbdev: pxafb: clear allocated memory for video modes

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Tue Jul 24 15:01:34 UTC 2018


On Sunday, June 24, 2018 05:38:14 PM Daniel Mack wrote:
> When parsing the video modes from DT properties, make sure to zero out
> memory before using it. This is important because not all fields in the mode
> struct are explicitly initialized, even though they are used later on.
> 
> Fixes: 420a488278e86 (video: fbdev: pxafb: initial devicetree conversion)
> Reviewed-by: Robert Jarzmik <robert.jarzmik at free.fr>
> Signed-off-by: Daniel Mack <daniel at zonque.org>

Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics



More information about the dri-devel mailing list