On Tue, Nov 28, 2017 at 03:10:54PM +0300, Denis V. Lunev wrote:
> In this case blk->bs == NULL and the code will just crash. Emulate error
> on that path.
>
> Signed-off-by: Denis V. Lunev
> CC: "Dr. David Alan Gilbert"
> CC: Kevin Wolf
> CC: Stefan Hajnoczi
> ---
> hmp.c | 3 +++
> 1 file ch
In this case blk->bs == NULL and the code will just crash. Emulate error
on that path.
Signed-off-by: Denis V. Lunev
CC: "Dr. David Alan Gilbert"
CC: Kevin Wolf
CC: Stefan Hajnoczi
---
hmp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hmp.c b/hmp.c
index 35a7041824..cfd1d9ab29 1006