Jan Beulich writes ("Re: [PATCH 1/8] libelf: loop safety: Introduce elf_iter_ok and elf_strcmp_safe"): > On 12.12.16 at 17:56, <ian.jack...@eu.citrix.com> wrote: > > I have replaced the limit with a comment. Now I have: > > > > elf->iteration_deaccumulator = > > 1024*1024 + size * ELF_MAX_ITERATION_FACTOR; > > /* overflow (from very big size, probably rejected earlier) > > * would just lead to small limit, which is safe */ > > Thanks. May I ask that you then also use proper hypervisor > style for that comment?
You mean like this ? elf->iteration_deaccumulator = 1024*1024 + size * ELF_MAX_ITERATION_FACTOR; /* * overflow (from very big size, probably rejected earlier) * would just lead to small limit, which is safe */ Sure, whatever. Done. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel