[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #11312] grub segfaults on (internal) nested function calls on x86_
From: |
Yoshinori K. Okuji |
Subject: |
[bugs #11312] grub segfaults on (internal) nested function calls on x86_64 |
Date: |
Sun, 19 Dec 2004 10:41:55 -0500 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux; en_GB, ja) KHTML/3.2.3 (like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: GNU GRUB.
/**************************************************************************/
[bugs #11312] Latest Modifications:
Changes by:
Yoshinori K. Okuji <address@hidden>
'Date:
Sun 12/19/2004 at 14:57 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Postponed
------------------ Additional Follow-up Comments ----------------------------
ChangeLog, please.
/**************************************************************************/
[bugs #11312] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11312>
Project: GNU GRUB
Submitted by: 0
On: Mon 12/13/2004 at 16:32
Category: Installation
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Resolution: Postponed
Privacy: Public
Assigned to: None
Originator Name: John Lane
Originator Email: address@hidden
Status: Open
Release: 0.95
Reproducibility: Every Time
Planned Release:
Summary: grub segfaults on (internal) nested function calls on x86_64
Original Submission: Environment: x86_64 / gcc-3.3.3 / kernel 2.6.9 /
glibc-2.3.3
Symptom: grub segfaults on nested function calls
Problem:
1) malloc'd pages seem to lack the execute bit on x86_64;
2) grub seems to use some stack pointer diversion to malloc'd pages;
3) nested functions execute data on the stack;
4) this causes a segfault (at least on my machine)
A patch to use mmap'd executable pages is attached.
jrl.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sun 12/19/2004 at 14:57 By: Yoshinori K. Okuji <okuji>
ChangeLog, please.
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 12/13/2004 at 16:32 Name: grub-0.95-use_mmap_exec_stack.patch Size:
1.49KB By: None
Patch to use mmap'd memory for executable dynamically allocated stack pages.
http://savannah.gnu.org/bugs/download.php?item_id=11312&item_file_id=1972
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11312>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/