public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5] memleak in load_elf_binary?
@ 2003-03-07 11:12 Oleg Drokin
  2003-03-07 11:25 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Oleg Drokin @ 2003-03-07 11:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm

Hello!

   I am still playing with improving memleak detector thing from smatch project.

   Seems there is a memleak in fs/binfmt_elf.c::load_elf_binary() in current 2.5
   If setup_arg_pages() fails (line 638 in my sources) we do return but 
   not freeing possibly allocated elf_interpreter (line 520) and 
   allocated elf_phdata (line 500) areas.

   Is this looking real? At least it looks real for me (I am trying to get
   number of false positives way down).

Bye,
    Oleg

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-03-07 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 11:12 [2.5] memleak in load_elf_binary? Oleg Drokin
2003-03-07 11:25 ` Andrew Morton
2003-03-07 11:36   ` Oleg Drokin
2003-03-07 11:51     ` Andrew Morton
2003-03-07 11:36   ` Andrew Morton
2003-03-07 20:46     ` Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox