Potential DOS in load_elf_library?

2005-03-18 Thread Yichen Xie
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++; ... kfree(elf_phdata); Could thi

memory leak in net/sched/ipt.c?

2005-03-23 Thread Yichen Xie
Is the memory block allocated on line 315 leaked every time tcp_ipt_dump is called? - 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 htt

RE: memory leak in net/sched/ipt.c?

2005-03-23 Thread Yichen Xie
Thanks for confirming. Are you guys interested in this kind of leaks? I have a list of about a hundred generated by our tool. -yichen > -Original Message- > From: Herbert Xu [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 23, 2005 3:31 AM > To: Yichen Xie > C