URL:
<http://savannah.gnu.org/bugs/?30162>
Summary: "abort to unknown prompt" can be infinitely
recursive
Project: Guile
Submitted by: mike121
Submitted on: Thu 17 Jun 2010 03:57:33 AM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It appears that aborting to a unknown prompt when no prompt yet exists will
cause a recursive overflow leading to segfault.
To see the bug, try replacing (srcdir)/module/ice-9/eval.go with a zero
length file. This will cause an "object file too small" error to be thrown
from make_objcode_by_mmap() before a prompt exists.
It may be that the commit "remove internal treatment of default prompt tag"
c6a32a2cd59190dcf17c7fb3022588f56079a03e may have removed code that was
necessary after all. But that's just a guess.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30162>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/