On 02/05/2016 11:12 AM, John Snow wrote: > Commit 16b0d555 introduced an issue where we are not initializing > has_filename for the 'next' MapEntry object, which leads to interesting > errors in Valgrind and Clang -fsanitize=undefined both.
grammar: errors in both Valgrind and Clang -fsanitize=undefined. > > Zero the stack object at allocation AND make sure the utility to > populate the fields properly marks has_filename as false if applicable. > > Signed-off-by: John Snow <js...@redhat.com> > --- > v2: Initialize with a compound literal as a future-proofing measure. > Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature