diff options
author | Max Reitz <mreitz@redhat.com> | 2017-06-13 19:20:06 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-06-26 14:54:46 +0200 |
commit | 05cc758a3dfc79488d0a8eb7f5830a41871e78d0 (patch) | |
tree | 28f70ee8318cfd620997a2f29136c027ff02fa67 /block/nbd.c | |
parent | de81d72d3d13a19edf4d461be3b0f5a877be0234 (diff) |
blkverify: Catch bs->exact_filename overflow
The bs->exact_filename field may not be sufficient to store the full
blkverify 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-3-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/nbd.c')
0 files changed, 0 insertions, 0 deletions