public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* process_reloc_for_got: no ENOMEM check
@ 2010-07-16  9:47 Kulikov Vasiliy
  0 siblings, 0 replies; only message in thread
From: Kulikov Vasiliy @ 2010-07-16  9:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Kernel Janitors

Hi,

I've found in ./arch/alpha/kernel/module.c in process_reloc_for_got()
such code:
                     
  g = kmalloc (sizeof (*g), GFP_KERNEL);
  g->next = chains[r_sym].next;
  g->r_addend = r_addend;
  g->got_offset = *poffset;

Here we use 'g' without checking it for zero. I don't know what this
function does so I cannot write a patch myself.

Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-16  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16  9:47 process_reloc_for_got: no ENOMEM check Kulikov Vasiliy

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