diff options
author | Max Reitz <mreitz@redhat.com> | 2017-06-13 19:20:05 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-06-26 14:54:46 +0200 |
commit | de81d72d3d13a19edf4d461be3b0f5a877be0234 (patch) | |
tree | be5a99c8ebeaa7f635e1bee248444e9b92dacc0e /block/sheepdog.c | |
parent | 4172a00373b2c81374293becc02b16b7f8c76659 (diff) |
blkdebug: Catch bs->exact_filename overflow
The bs->exact_filename field may not be sufficient to store the full
blkdebug node filename. In this case, we should not generate a filename
at all instead of an unusable one.
Cc: qemu-stable@nongnu.org
Reported-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170613172006.19685-2-mreitz@redhat.com
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/sheepdog.c')
0 files changed, 0 insertions, 0 deletions