From: Tom Rini Date: Mon, 16 Oct 2017 20:46:36 -0400 Subject: [U-Boot] part_efi: In is_gpt_valid() check argument validity before allocation In-Reply-To: <1507037924-8939-1-git-send-email-trini@konsulko.com> References: <1507037924-8939-1-git-send-email-trini@konsulko.com> Message-ID: <20171017004636.GX12015@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 03, 2017 at 09:38:44AM -0400, Tom Rini wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: