[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20100716094710.GA24173@albatros>
Date: Fri, 16 Jul 2010 13:47:10 +0400
From: Kulikov Vasiliy <segooon@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Kernel Janitors <kernel-janitors@...r.kernel.org>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists