Re: [PATCH] gpiolib: add NULL to the end of arry of_find_gpio_quirks[]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 21, 2022 at 10:02 AM <haibo.chen@xxxxxxx> wrote:
>
> From: Haibo Chen <haibo.chen@xxxxxxx>
>
> After commit a2b5e207cade ("gpiolib: rework quirk handling in
> of_find_gpio()"), it add an arry of_find_gpio_quirks[], but in
> the for loop, it use *q to judge whether it is out of the arry
> range. Unfortunately, in the arry, forget to add NULL in the end,
> which has the risk of out of arry access, here is the dump on
> i.MX8MM-evk board:
>

This was already fixed by Michael Walle.

Bart



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux