This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4777] fd smash from Elf exception


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]