[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <af3ea28a0706282203r16764118vd163cb48a25d9d99@mail.gmail.com>
Date: Fri, 29 Jun 2007 13:03:06 +0800
From: "ye janboe" <janboe.ye@...il.com>
To: linux-kernel <linux-kernel@...r.kernel.org>
Subject: is this a bug of elf_core_dump
I found there are codes like following in elf_core_dump
for (addr = vma->vm_start;
addr < vma->vm_end;
addr += PAGE_SIZE) {
struct page *page;
struct vm_area_struct *vma;
if (get_user_pages(current, current->mm, addr, 1, 0, 1,
&page, &vma) <= 0) {
DUMP_SEEK(PAGE_SIZE);
} else {
does get_user_pages directly use page variable which is not
initialized is a bug?
thanks
Janboe
-
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