On 08/05/2017 01:52 PM, Pranith Kumar wrote:
> FYI,
> 
> This commit breaks the build with gcc-7:
> 
>   CC      block/vvfat.o
> qemu/block/vvfat.c: In function ‘read_directory’:
> qemu/block/vvfat.c:605:37: error: ‘__builtin___sprintf_chk’ may write
> a terminating nul past the end of the destination
> [-Werror=format-overflow=]
>              int len = sprintf(tail, "~%d", i);
>                                      ^~~~~

Doesn't commit 7c8730d45f6 fix that?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to