commit | e6131f16c97876305f3833927b2aad7dd9b4b48c | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Tue Oct 03 09:38:44 2017 -0400 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 16 09:42:51 2017 -0400 |
tree | 07571dd727b65a3e5e1dc0b8d3cadbf416b24341 | |
parent | d1659de6f91fe3e45d67b2ecde04118d89d575fc [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>