• Tony Luck's avatar
    [IA64] binfmt_elf32.c: BUG if insert_vm_struct fails · 5ac22d4e
    Tony Luck authored
    It seems that in ia64_elf32_init, instead of calling return, if we insert
    an overlapping vma, we should instead BUG(). We should never get into this
    code path, because the vma's are set above PAGE_OFFSET, and thus a
    Xmalicious user can not trigger this code path. This change is being
    suggested mainly for clarity. Thanks to Stephen Tweedie for pointing out
    that returning early in ia64_elf32_init could have unpredictable results.
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    5ac22d4e
binfmt_elf32.c 8.26 KB