Andrey Shinkevich ef0aa6af47 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>
2019-08-20 17:26:19 +02:00
..
2017-09-22 10:46:25 +08:00
2019-03-08 16:31:34 +00:00
2019-06-12 13:20:21 +02:00
2019-08-16 16:43:46 +01:00
2017-09-05 22:34:40 +02:00
2018-08-23 18:46:25 +02:00
2017-12-20 22:01:24 +08:00
2018-12-20 10:29:08 +01:00