[Bug binutils/28779] libiberty -Wuse-after-free instances for freed pointer subtraction

2022-01-24 Thread msebor at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28779 --- Comment #2 from Martin Sebor --- Hi Nick, I didn't know about this dependency. I patched the GCC libiberty at the time I committed the GCC enhancement so once Binutils copies the GCC sources the warning should disappear: https://gcc.gnu.o

[Bug binutils/28779] New: libiberty -Wuse-after-free instances for freed pointer subtraction

2022-01-13 Thread msebor at gmail dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: msebor at gmail dot com Target Milestone: --- Testing a GCC 12 enhancement (not yet on trunk) to detect uses of pointers rendered indeterminate by a deallocation

[Bug binutils/26795] New: double free in process_archive in binutils/elfedit.c

2020-10-27 Thread msebor at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: msebor at gmail dot com Target Milestone: --- Building the latest Binutils with an experimental version of GCC 11 triggers the following warning: src/binutils-gdb/binutils/elfedit.c: In function

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

2020-10-15 Thread msebor at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: msebor at gmail dot com Target Milestone: --- Building Binutils with an experimental version of GCC triggers the following warning due to the subset pointer being used after it has been freed. The

[Bug binutils/26698] New: out of bounds access in mc_unify_path

2020-10-01 Thread msebor at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: msebor at gmail dot com Target Milestone: --- Compiling binutils/windmc.c with the top of trunk of GCC 11 on x86_64 triggers the following warning: src/binutils-gdb/binutils/windmc.c:927:10: warning: array

[Bug binutils/26246] invalid access in bfd/elf32-xtensa.c

2020-07-16 Thread msebor at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26246 --- Comment #2 from Martin Sebor --- Yes, I've verified it also silences the warning and is correct since the key is [required to be] the first argument to the comparison function. -- You are receiving this mail because: You are on the CC li

[Bug binutils/26246] New: invalid access in bfd/elf32-xtensa.c

2020-07-15 Thread msebor at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: msebor at gmail dot com Target Milestone: --- A Binutils test build with a GCC 11 enhancement to -Warray-bounds triggers the following warning: src/binutils-gdb/bfd/elf32-xtensa.c: In function