In the flow initialization code path, there was an uninitialized
variable that led to memory corruption in certain cases. This
patch should initialize the variable properly.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
static struct fio_flow *flow_get(unsigned int id)
{
static struct fio_flow *flow_get(unsigned int id)
{
+ struct fio_flow *flow = NULL;
struct flist_head *n;
fio_mutex_down(flow_lock);
struct flist_head *n;
fio_mutex_down(flow_lock);