
On 3/1/19 1:54 AM, AKASHI Takahiro wrote:
On Thu, Feb 28, 2019 at 11:20:34PM +0100, Heinrich Schuchardt wrote:
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
@Takahiro: Please, review the patch.
Good catch, thank you.
Reviewed-by: AKASHI Takahiro takahiro.akashi@linaro.org
With this patch I no longer experience an error when booting my Odroid C2 via iPXE from an iSCSI disk. So I think in v2019.07 we will can enable the HII protocols by default.
Best regards
Heinrich