summaryrefslogtreecommitdiff
path: root/tools/imx8image.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-02-28 23:07:00 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-03-02 23:34:26 +0100
commitfdef298338e4e775d41ab77b25edb695b2d8e1c0 (patch)
treed6ad8e5a47179248e57fd505d075a9afd85bf43b /tools/imx8image.c
parent30a231dcce0b4daf6102cffcdc5c81db8ddaaa48 (diff)
efi_loader: HII protocols: fix new_package_list()
In new_package_list() we call new_packagelist() to create a new package list. Next we try to add the packages which fails for form packages. Due to this error we call free_packagelist(). Now in free_packagelist() list_del() is called for an uninitialized field hii->link. This leads to changing random memory addresses. To solve the problem move the initialization of hii->link to new_packagelist(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'tools/imx8image.c')
0 files changed, 0 insertions, 0 deletions