On 11.10.19 11:07, Vladimir Sementsov-Ogievskiy wrote: > Passing zero length to these functions leads to unpredicted results. > Zero-length set/reset may occur in active-mirror, on zero-length write > (which is unlikely, but not guaranteed to never happen). > > Let's just do nothing on zero-length request. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> > --- > util/hbitmap.c | 8 ++++++++ > 1 file changed, 8 insertions(+)
Reviewed-by: Max Reitz <[email protected]>
signature.asc
Description: OpenPGP digital signature
