]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: check length in CreateDeviceNode()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 22 Apr 2019 22:51:01 +0000 (00:51 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 22 Apr 2019 22:51:01 +0000 (00:51 +0200)
commit410598a2e8bf88b87eff1f1d3d1a76e29315ff65
tree3127c43d27178fa49c8c815115afd8961562f144
parent5be7918b65dd9ddb448ffd6d1cba1a98d8a8e53c
efi_loader: check length in CreateDeviceNode()

When creating a device path node ensure that the size of the allocated
memory at lest matches the size of the node header.

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