Re: [PATCH] media: rcar_drif: fix a memory disclosure

2019-10-21 Thread Geert Uytterhoeven
Hi Kangjie, On Sat, Oct 19, 2019 at 12:29 AM Kangjie Lu wrote: > "f->fmt.sdr.reserved" is uninitialized. As other peer drivers > like msi2500 and airspy do, the fix initializes it to avoid > memory disclosures. > > Signed-off-by: Kangjie Lu Reviewed-by: Geert Uytterhoeven > --- a/drivers/medi

[PATCH] media: rcar_drif: fix a memory disclosure

2019-10-17 Thread Kangjie Lu
"f->fmt.sdr.reserved" is uninitialized. As other peer drivers like msi2500 and airspy do, the fix initializes it to avoid memory disclosures. Signed-off-by: Kangjie Lu --- drivers/media/platform/rcar_drif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/rcar_drif.c b