On Jan 07, 2021 / 06:57, Dmitry Fomichev wrote: > If the total number of zones on a drive is calculated to a value that > is less than the number of zones it can actually report, zone info > buffer can be overrun. This may happen not only due to drive firmware > problems, but also because of underlying software incorrectly > reporting zoned device capacity. > > Fix this by more carefully setting zone report size. > > Signed-off-by: Dmitry Fomichev <dmitry.fomichev@xxxxxxx> Looks good to me. Reviewed-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> -- Best Regards, Shin'ichiro Kawasaki