Stefan Hajnoczi <[email protected]> 于2024年5月7日周二 20:06写道:
>
> cvtnum() parses positive int64_t values and returns a negative errno on
> failure. Print errors and return early when cvtnum() fails.
>
> While we're at it, also reject nr_zones values greater or equal to 2^32
> since they cannot be represented.
>
> Reported-by: Peter Maydell <[email protected]>
> Cc: Sam Li <[email protected]>
> Signed-off-by: Stefan Hajnoczi <[email protected]>
> ---
>  qemu-io-cmds.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 47 insertions(+), 1 deletion(-)

Reviewed-by: Sam Li <[email protected]>

Hi Stefan,

Thank you for fixing that. I've been a little busy with moving house lately :)

Sam

Reply via email to