[lkml]   [2005]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectPotential DOS in load_elf_library?
    Hi guys, I was looking at the load_elf_library function (fs/binfmt_elf.c) 
    in 2.6.10, and noticed the following:

    elf_phdata = (struct elf_phdr *) kmalloc(j, GFP_KERNEL);
    while (elf_phdata->p_type != PT_LOAD) elf_phdata++;

    Could this be problematic since the pointer being freed might be different
    from that returned from kmalloc?
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:11    [W:0.019 / U:103.896 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site