diff options
| author | Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> | 2019-07-30 19:01:36 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-20 17:26:19 +0200 |
| commit | ef0aa6af47da16f5367f545deb599a14ea408bee (patch) | |
| tree | 17ae49c4d84415ace1ba6322792143e6985b3e44 /tests/test-string-input-visitor.c | |
| parent | de428cead63a958137ee63efcc3cceaf75f6c125 (diff) | |
| download | focaccia-qemu-ef0aa6af47da16f5367f545deb599a14ea408bee.tar.gz focaccia-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