diff options
author | Tom Rini <trini@konsulko.com> | 2017-10-03 09:38:44 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-16 09:42:51 -0400 |
commit | b351ccf11ae5616bba183aedb2c433b97123be4f (patch) | |
tree | 07571dd727b65a3e5e1dc0b8d3cadbf416b24341 /arch/arm/dts/bcm283x-rpi-smsc9514.dtsi | |
parent | c12d8b7d70c695f1c4fe6fb4f1b3913bdbed8c96 (diff) |
part_efi: In is_gpt_valid() check argument validity before allocation
While this goes somewhat against normal coding style we should ensure
that dev_desc is not NULL before we dereference it in allocation of
legacy_mbr.
Reported-by: Coverity (CID: 167292)
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/dts/bcm283x-rpi-smsc9514.dtsi')
0 files changed, 0 insertions, 0 deletions