This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/4777] fd smash from Elf exception
- From: "cagney at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 12 Jul 2007 22:44:53 -0000
- Subject: [Bug general/4777] fd smash from Elf exception
- References: <20070711170852.4777.cagney@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cagney at redhat dot com 2007-07-12 22:44 -------
This replaces the integer file descriptor with a FileDescriptor object;
eliminating the possability of the uninitialized fd=0 being closed :-)
Index: frysk-imports/lib/elf/ChangeLog
2007-07-12 Andrew Cagney <cagney@redhat.com>
* Elf.java (fd): Change type to FileDescriptor.
(elfBegin): Declare.
(Elf(String,ElfCommand)): Use FileDescriptor and elfBegin.
(Elf(int,ElfCommand): Use this to construct Elf object.
* cni/Elf.cxx (elfBegin): Define.
(elf_begin): Delete.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=4777
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.