Messages in this thread | | | Date | Fri, 16 Jul 2010 13:47:10 +0400 | From | Kulikov Vasiliy <> | Subject | process_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.
| |