Hi Simon,
Quoting Simon Glass :
Hi Mario,
On 30 March 2016 at 02:22, Mario Six wrote:
uclass_first_device might return NULL for the device despite a zero
return code. Currently, this might lead to null pointer dereferencing,
since the returned device is not properly checked.
Hence, always c
Hi Mario,
On 30 March 2016 at 02:22, Mario Six wrote:
> uclass_first_device might return NULL for the device despite a zero
> return code. Currently, this might lead to null pointer dereferencing,
> since the returned device is not properly checked.
>
> Hence, always check if the device returned
uclass_first_device might return NULL for the device despite a zero
return code. Currently, this might lead to null pointer dereferencing,
since the returned device is not properly checked.
Hence, always check if the device returned from uclass_first_device is
NULL and return -ENODEV if it is.
Si
3 matches
Mail list logo