tests: Fix uninitialized byte in test_visitor_in_fuzz
commitf673174e3f62096f45b874fbe1cd469127d9c21c
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Tue, 30 Jul 2019 16:01:37 +0000 (30 19:01 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2019 15:26:19 +0000 (20 17:26 +0200)
tree08a89b222bc327fea347e7da25157394e4c65d1c
parentef0aa6af47da16f5367f545deb599a14ea408bee
tests: Fix uninitialized byte in test_visitor_in_fuzz

One byte in the local buffer stays uninitialized, at least with the
first iteration, because of the double decrement in the
test_visitor_in_fuzz(). This is what Valgrind does not like and not
critical for the test itself. So, reduce the number of the memory
issues reports.

Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Message-Id: <1564502498-805893-3-git-send-email-andrey.shinkevich@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/test-string-input-visitor.c