bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25220] objcopy : free() invalid pointer


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/25220] objcopy : free() invalid pointer
Date: Thu, 09 Jan 2020 16:52:46 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25220

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ffebb0bbde7deae978ab3e4d3d3d90acf52b7d69

commit ffebb0bbde7deae978ab3e4d3d3d90acf52b7d69
Author: Nick Clifton <address@hidden>
Date:   Thu Jan 9 16:51:04 2020 +0000

    Fix an attempt to free a static pointer when using objcopy's symbol
addition feature.

        PR 25220
        * objcopy.c (empty_name): New variable.
        (need_sym_before): Prevent an attempt to free a static variable.
        (filter_symbols): Avoid strcmp test by checking for pointer
        equality.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]