lkml.org 
[lkml]   [2010]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectprocess_reloc_for_got: no ENOMEM check
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.


\
 
 \ /
  Last update: 2010-07-16 11:49    [W:0.036 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site