>>> On 09.12.16 at 16:44, <ian.jack...@eu.citrix.com> wrote: > @@ -80,7 +81,8 @@ void elf_memcpy_safe(struct elf_binary *elf, elf_ptrval dst, > > void elf_memset_safe(struct elf_binary *elf, elf_ptrval dst, int c, size_t > size) > { > - if ( elf_access_ok(elf, dst, size) ) > + if ( elf_access_ok(elf, dst, size) && > + elf_iter_ok_counted(elf, size))
With the style issue here fixed, Acked-by: Jan Beulich <jbeul...@suse.com> despite not being really happy about the added clutter. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel