Re: [Qemu-devel] [PATCH 0/2] block: Fix gcc 7 warnings

2017-06-16 Thread Max Reitz
On 2017-06-13 19:20, Max Reitz wrote: > blkdebug and blkverify use snprintf() to generate a filename; however, > that may not fit into the target buffer (BDS.exact_filename). If so, > they generate a truncated and thus pretty much unusable filename. In > this case it's better to just not generate a

Re: [Qemu-devel] [PATCH 0/2] block: Fix gcc 7 warnings

2017-06-13 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Subject: [Qemu-devel] [PATCH 0/2] block: Fix gcc 7 warnings Type: series Message-id: 20170613172006.19685-1-mre...@redhat.com

[Qemu-devel] [PATCH 0/2] block: Fix gcc 7 warnings

2017-06-13 Thread Max Reitz
blkdebug and blkverify use snprintf() to generate a filename; however, that may not fit into the target buffer (BDS.exact_filename). If so, they generate a truncated and thus pretty much unusable filename. In this case it's better to just not generate a filename at all (until we have better infrast