commit | 76ce66408dfccb491114d721260717ae76795b4d | [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 | b016fcf723c976ff50c4d4b0848c89cb06158c57 [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>