Re: [Qemu-block] [PATCH 1/3] test-throttle: Fix uninitialized use of burst_length

2019-08-13 Thread Alberto Garcia
On Tue 30 Jul 2019 06:01:36 PM CEST, Andrey Shinkevich wrote: > 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:

[Qemu-block] [PATCH 1/3] test-throttle: Fix uninitialized use of burst_length

2019-07-30 Thread Andrey Shinkevich
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 --- tests/test-throttle.c | 2 ++ 1 file changed, 2