Files
i2som-imx-linux/drivers
Liu Ying 43a8a1e18b MLK-11918-4 video: mxc ipuv3 fb: Fix dangling pointer dereference in check_var
The function fbi_to_pixfmt() could access the pointer fbi->device provided
by it's input parameter fbi, so let's make sure the pointer isn't dangling.

This patch fixes the following issue reported by Coverity:
Uninitialized pointer read (UNINIT)
uninit_use_in_call: Using uninitialized value tmp_fbi.device when calling
fbi_to_pixfmt.
		switch (fbi_to_pixfmt(&tmp_fbi, true)) {
		case IPU_PIX_FMT_YUV420P2:
		case IPU_PIX_FMT_YVU420P:

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2019-02-12 10:23:52 +08:00
..
2019-01-31 08:13:41 +01:00