test/file-verify: Fix reading from uninitialized buffer
Fix this:
==3054556== Conditional jump or move depends on uninitialised value(s)
==3054556== at 0x1099DB: verify_buf (file-verify.c:48)
==3054556== by 0x10A506: test (file-verify.c:449)
==3054556== by 0x109353: main (file-verify.c:538)
Link: https://github.com/axboe/liburing/issues/640
Reported-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Link: https://lore.kernel.org/r/20220810002735.2260172-4-ammar.faizi@intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed