|
From: | Juan Quintela |
Subject: | Re: [Qemu-block] [PATCH 1/4] block: Fix anonymous BBs in blk_root_inactivate() |
Date: | Tue, 23 May 2017 18:36:14 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Kevin Wolf <address@hidden> wrote: > blk->name isn't an array, but a pointer that can be NULL. Checking for > an anonymous BB must involve a NULL check first, otherwise we get > crashes. > > Signed-off-by: Kevin Wolf <address@hidden> Reviewed-by: Juan Quintela <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |