In Binutils, the field `file_table` of `struct module *module` is created without being initialized, and then its uninitialized field is used to assign `*file`, which is a pointer to a global variable `filename`. Later on when this variable is used, a segmentation fault occurs. Upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29892 Upstream fix: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65cf035b8dc1df5d8020e0b1449514a3c42933e7
Another vms-alpha specific fix. Only affects binutils in RHEL 8/7/6. See BZ 2167467 for more details on why bugs in the vms-alpha alpha support is restricted to these releases.
This does not affect gdb in RHEL or Fedora; gdb does not have or build the affected code.
While bfd/vms-alpha.c is included in the gdb srpm, gdb.spec only enables targets that are supported by RHEL (ppc64/ppc64le, aarch64, s390x, x86_64). This file is therefore never built in gdb.