Re: [PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Sep 2020 20:45:53 +0200 Arnd Bergmann escreveu: > On Wed, Sep 2, 2020 at 6:10 PM Mauro Carvalho Chehab > wrote: > > > > There are some reports about possible memory leaks: > > > > drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn: > > check that 'ev32' doesn't l

Re: [PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-02 Thread Arnd Bergmann
On Wed, Sep 2, 2020 at 6:10 PM Mauro Carvalho Chehab wrote: > > There are some reports about possible memory leaks: > > drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn: > check that 'ev32' doesn't leak information (struct has a hole after 'type') > drivers/media/v

Re: [PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-02 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Wed, Sep 02, 2020 at 06:10:05PM +0200, Mauro Carvalho Chehab wrote: > There are some reports about possible memory leaks: > > drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn: check > that 'ev32' doesn't leak information (struct has a

[PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-02 Thread Mauro Carvalho Chehab
There are some reports about possible memory leaks: drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn: check that 'ev32' doesn't leak information (struct has a hole after 'type') drivers/media/v4l2-core//v4l2-ioctl.c:3230 video_put_user() warn: check that 'vb32' do