commit | 72c891fe2d88d968abf5793a566c21684ac8d774 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Apr 18 01:37:21 2023 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Tue May 02 10:57:32 2023 +0200 |
tree | 625b7bc2dff9e8dcd8f6dd08817566b4da410ec5 | |
parent | c1bde16498e4241d405cdeabf4953de55e7776f1 [diff] |
imx8mn: buffer overflow in low_drive_gpu_freq() Avoid a buffer overflow if assigned-clock-rates has less than two elements. Fixes: 98bcdf16356c ("imx8mn: Add low drive mode support for DDR4/LPDDR4 EVK") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>