Re: [PATCH v1 1/1] media: atmel-isc: Add safety checks for NULL isc->raw_fmt struct

2018-11-23 Thread Eugen.Hristev
On 21.11.2018 16:50, Ken Sloat wrote: >>> From: Ken Sloat >>> >>> In some usages isc->raw_fmt will not be initialized. If this is the >>> case, it is very possible that a NULL struct de-reference will occur, >>> as this member is referenced many times. > >> Hello Ken, > >> Do you have any

Re: [PATCH v1 1/1] media: atmel-isc: Add safety checks for NULL isc->raw_fmt struct

2018-11-20 Thread Eugen.Hristev
On 20.11.2018 22:43, Ken Sloat wrote: > From: Ken Sloat > > In some usages isc->raw_fmt will not be initialized. If this > is the case, it is very possible that a NULL struct de-reference > will occur, as this member is referenced many times. Hello Ken, Do you have any confidence that just

Re: MICROCHIP ISC DRIVER Bug: Possible NULL struct pointer dereference case

2018-11-19 Thread Eugen.Hristev
On 20.11.2018 01:06, Ken Sloat wrote: > Hello, > > I have discovered a bug in the Atmel/Microchip ISC driver while developing a > i2c v4l2 sub-device driver. This bug did not previously occur for me on an > older version of the driver (more details below), but I have confirmed this > bug on