Re: [Qemu-devel] [PATCH] crypto/ivgen-essiv: Fix problem with address sanitizer of Clang

2018-01-10 Thread Daniel P. Berrange
On Tue, Jan 02, 2018 at 04:37:45PM +0100, Thomas Huth wrote: > When compiling QEMU with clang and -fsanitize=address, I get the > following error: > > ==9185==ERROR: AddressSanitizer: stack-buffer-overflow on address > 0x7ffc7e9adf2f at pc 0x564cba001d88 bp 0x7ffc7e9adeb0 sp 0x7ffc7e9adea8 >

[Qemu-devel] [PATCH] crypto/ivgen-essiv: Fix problem with address sanitizer of Clang

2018-01-02 Thread Thomas Huth
When compiling QEMU with clang and -fsanitize=address, I get the following error: ==9185==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffc7e9adf2f at pc 0x564cba001d88 bp 0x7ffc7e9adeb0 sp 0x7ffc7e9adea8 READ of size 16 at 0x7ffc7e9adf2f thread T0 #0 0x564cba001d87 in