>>> On 09.12.16 at 16:44, <ian.jack...@eu.citrix.com> wrote:
> Now, elf_load_image eventually calls elf_memcpy_safe, which calls
> elf_iter_ok_counted.
> 
> So there is a work limit of 4x the image size.  This is larger than
> the previous limit of 2x the image size, but it includes a lot of
> other processing too.  And the purpose is to reject bad images without
> a significant risk of rejecting sane ones.  A 4x limit is tight
> enough.
> 
> So this ad-hoc remain_allow_copy check has been entirely superseded
> and can be removed.
> 
> Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>

Acked-by: Jan Beulich <jbeul...@suse.com>


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to