Re: Linux 2.4.30-rc2 - fix for CAN-2005-0794: Potential DOS in load_elf_library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 26, 2005 at 01:14:01PM +0100, Andreas Arens wrote:
> Hi Marcelo, Herbert,
> 
> I'm just reading the patch so don't know of any hidden side-effects which
> might cure it, but this clearly looks like a possibly deadlocking typo in 
> fs/binfmt_elf.c to me:
> >
> >-       while (elf_phdata->p_type != PT_LOAD) elf_phdata++;
> >+       while (elf_phdata->p_type != PT_LOAD)
> >+               eppnt++;
> 
> Shouldn't this be:
> 
> -       while (elf_phdata->p_type != PT_LOAD) elf_phdata++;
> +       while (eppnt->p_type != PT_LOAD)
> +               eppnt++;

Doh.

Yes, it is. I change it accordingly, will release another -rc :( 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux