bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26741] benign use after free at bfd/elfxx-riscv.c:1403


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26741] benign use after free at bfd/elfxx-riscv.c:1403
Date: Mon, 04 Jan 2021 00:41:34 +0000

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

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

commit e9cf3691bfa140469d52815a2307b00eecf7917c
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 4 10:19:14 2021 +1030

    PR26741, benign use after free in riscv_parse_prefixed_ext

    ISO/IEC 9899:1999 C standard "J.2 Undefined behavior" says the
    following is undefined behaviour:

    "The value of a pointer that refers to space deallocated by a call to
    the free or realloc function is used (7.20.3)."

            PR 26741
            * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
            calculating subset version length.

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