bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25308] Multiple null pointer dereferencs in bfd module due


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/25308] Multiple null pointer dereferencs in bfd module due to not checking return value of bfd_malloc
Date: Fri, 03 Jan 2020 14:42:32 +0000

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

--- 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=7a0fb7be96e0ce79e1ae429bc1ba913e5244d537

commit 7a0fb7be96e0ce79e1ae429bc1ba913e5244d537
Author: Nick Clifton <address@hidden>
Date:   Fri Jan 3 14:41:02 2020 +0000

    Fix potential illegal memory access failures in the BFD library by ensuring
that the return value from bfd_malloc() is checked before it is used.

        PR 25308
        * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
        return value from bfd_malloc.
        * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
        (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
        (elf32_arm_filter_cmse_symbols): Likewise.
        (elf32_arm_write_section): Likewise.
        * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
        (bfd_mach_o_follow_dsym): Likewise.
        * pef.c (bfd_pef_print_loader_section): Likewise.
        (bfd_pef_scan_start_address): Likewise.
        (bfd_pef_parse_function_stubs): Likewise.
        (bfd_pef_parse_symbols): Likewise.

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