From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 920 invoked by alias); 3 Apr 2007 22:27:04 -0000 Received: (qmail 895 invoked by uid 48); 3 Apr 2007 22:26:55 -0000 Date: Tue, 03 Apr 2007 22:27:00 -0000 From: "npremji at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20070403232655.4315.npremji@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4315] New: Elf constructor causes double free. X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00020.txt.bz2 List-Id: The frysk-imports/lib/elf/Elf.java constructor: Elf (long pointer) { this.pointer = pointer; this.fd = -1; } causes a double free as it tries to call elf_end on the pointer, when whatever called it might have already cleaned up as well. Example: DwflModule.getElf(). -- Summary: Elf constructor causes double free. Product: frysk Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general AssignedTo: frysk-bugzilla at sourceware dot org ReportedBy: npremji at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=4315 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.