summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/helper.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-07-26 09:54:52 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-03 09:21:02 +0200
commit829445382c196301309b7f12630c1e04a4986eba (patch)
tree86bbb11531e14a22229c2e135460f685a0f4b2f8 /drivers/ddr/imx/phy/helper.c
parentef279f81ae813c9d0128490877227b75d1fd61a5 (diff)
efi_loader: Fix memory corruption on 32bit systems
It's pretty unlikely that anyone is going to be using EFI authentication on a 32bit system. However, if you did, the efi_prepare_aligned_image() function would write 8 bytes of data to the &efi_size variable and it can only hold 4 bytes so that corrupts memory. Fixes: 163a0d7e2cbd ("efi_loader: add PE/COFF image measurement") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'drivers/ddr/imx/phy/helper.c')
0 files changed, 0 insertions, 0 deletions