process_reloc_for_got: no ENOMEM check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux