]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: do not miss last relocation block
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 16 Feb 2019 14:36:33 +0000 (15:36 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 16 Feb 2019 14:51:14 +0000 (15:51 +0100)
commit97af4ea6cba4e0348050f6eff05b345eea5d055a
treee10ca0c48d2c69624d2a1adbc0f346b13021b6ef
parentb8ef543b4969330c94a3556d129ffadd53b97995
efi_loader: do not miss last relocation block

If the last block in the relocation table contains only a single
relocation, the current coding ignores it.

Fix the determination of the end of the relocation table.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_image_loader.c