bug-grub
[Top][All Lists]
Advanced

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

[bugs #11312] grub segfaults on (internal) nested function calls on x86_


From: anonymous
Subject: [bugs #11312] grub segfaults on (internal) nested function calls on x86_64
Date: Mon, 13 Dec 2004 11:38:21 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)

This mail is an automated notification from the bugs tracker
 of the project: GNU GRUB.




/**************************************************************************/
[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 11:32

Category:  Installation
Severity:  Major
Priority:  5 - Normal
Item Group:  Software Error
Resolution:  None
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.






File Attachments
-------------------

-------------------------------------------------------
Date: Mon 12/13/2004 at 11: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&amp;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/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]