Hi,
> From: Patrick DELAUNAY
>
> Add test on the size of ofnode_phandle_args result to avoid access to
> uninitialized
> elements in args[] field.
>
> This patch avoids the issue when gpio-ranges cell size is not 3 as expected,
> for
> example:
> gpio-ranges = <&pinctrl 0>;
> instead of
Hi Patrick
On 9/9/20 6:28 PM, Patrick Delaunay wrote:
> Add test on the size of ofnode_phandle_args result to avoid access
> to uninitialized elements in args[] field.
>
> This patch avoids the issue when gpio-ranges cell size is not 3 as
> expected, for example:
> gpio-ranges = <&pinctrl 0>
Add test on the size of ofnode_phandle_args result to avoid access
to uninitialized elements in args[] field.
This patch avoids the issue when gpio-ranges cell size is not 3 as
expected, for example:
gpio-ranges = <&pinctrl 0>;
instead of
gpio-ranges = <&pinctrl 0 112 16>;
Signed-
3 matches
Mail list logo