[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/9798] objcopy: access to already freed memory
From: |
cvs-commit at gcc dot gnu dot org |
Subject: |
[Bug binutils/9798] objcopy: access to already freed memory |
Date: |
29 Jan 2009 13:03:35 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-01-29
13:03 -------
Subject: Bug 9798
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2009-01-29 13:03:21
Modified files:
binutils : ChangeLog bucomm.c bucomm.h objcopy.c
Log message:
PR 9798
* bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
(bfd_get_archive_filename): Constify param.
* bucomm.h (bfd_get_archive_filename): Update prototype.
* objcopy.c (RETURN_NONFATAL): Delete.
(copy_unknown_object): Don't call bfd_get_archive_filename for
bfd_nonfatal_message filename, instead just pass bfd.
(copy_object): Likewise.
(copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
(setup_bfd_headers): Fix error message.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1416&r2=1.1417
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/bucomm.c.diff?cvsroot=src&r1=1.33&r2=1.34
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/bucomm.h.diff?cvsroot=src&r1=1.28&r2=1.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/objcopy.c.diff?cvsroot=src&r1=1.124&r2=1.125
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.