bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21639] heap-buffer-overflow in _bfd_vms_save_sized_string


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/21639] heap-buffer-overflow in _bfd_vms_save_sized_string
Date: Wed, 21 Jun 2017 14:22:18 +0000

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

--- Comment #3 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=7adc0a8174f1233f6d92edd0671c18c9870e64e7

commit 7adc0a8174f1233f6d92edd0671c18c9870e64e7
Author: Nick Clifton <address@hidden>
Date:   Wed Jun 21 15:21:11 2017 +0100

    Fix address violation parsing a corrupt Alpha VMS binary file.

        PR binutils/21639
        * vms-misc.c (_bfd_vms_save_sized_string): Use unsigned int as
        type of the size parameter.
        (_bfd_vms_save_counted_string): Add second parameter - the maximum
        length of the counted string.
        * vms.h (_bfd_vms_save_sized_string): Update prototype.
        (_bfd_vms_save_counted_string): Likewise.
        * vms-alpha.c (_bfd_vms_slurp_eisd): Update calls to
        _bfd_vms_save_counted_string.
        (_bfd_vms_slurp_ehdr): Likewise.
        (_bfd_vms_slurp_egsd): Likewise.
        (Parse_module): 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]