Re: The potential uninitialized variables used in function isc_interrupt()

2019-10-04 Thread Eugen.Hristev
On 04.10.2019 06:07, Yizhuo Zhai wrote: > Hi Eugen: > > In function isc_interrupt(), variable "isc_intsr" and "isc_intmask" > (drivers/media/platform/atmel/atmel-isc-base.c) > could be uninitialized if regmap_read() fails and return -EINVAL . > However, they are used to decide the control flow l

The potential uninitialized variables used in function isc_interrupt()

2019-10-03 Thread Yizhuo Zhai
Hi Eugen: In function isc_interrupt(), variable "isc_intsr" and "isc_intmask" (drivers/media/platform/atmel/atmel-isc-base.c) could be uninitialized if regmap_read() fails and return -EINVAL . However, they are used to decide the control flow later in the if statement, which is potentially unsafe