summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-10-17 18:48:19 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-10-17 23:42:56 +0000
commit219cd649fdbd7bfd6c2268a0a4f66bcc15918e31 (patch)
tree3453c0102cbc975b92b10266961d76250b5d002c /run-tests.sh
parent6257276d9de3f15643f159b2ec627a67c84fc23d (diff)
debug/io-stats: io stats filenames contain garbage
As dict_unserialize does not null terminate the value, using snprintf adds garbage characters to the buffer used to create the filename. The code also used this->name in the filename which will be the same for all bricks for a volume. The files were thus overwritten if a node contained multiple bricks for a volume. The code now uses the conf->unique instead if available. Change-Id: I2c72534b32634b87961d3b3f7d53c5f2ca2c068c fixes: bz#1640165 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'run-tests.sh')
0 files changed, 0 insertions, 0 deletions