diff options
author | 2019-07-30 19:01:36 +0300 | |
---|---|---|
committer | 2019-08-20 17:26:19 +0200 | |
commit | ef0aa6af47da16f5367f545deb599a14ea408bee (patch) | |
tree | 17ae49c4d84415ace1ba6322792143e6985b3e44 /tests/test-string-input-visitor.c | |
parent | target-i386: kvm: 'kvm_get_supported_msrs' cleanup (diff) | |
download | qemu-ef0aa6af47da16f5367f545deb599a14ea408bee.tar.xz qemu-ef0aa6af47da16f5367f545deb599a14ea408bee.zip |
test-throttle: Fix uninitialized use of burst_length
ThrottleState::cfg of the static variable 'ts' is reassigned with the
local one in the do_test_accounting() and then is passed to the
throttle_account() with uninitialized member LeakyBucket::burst_length.
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Message-Id: <1564502498-805893-2-git-send-email-andrey.shinkevich@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions