[Bug binutils/22037] New: Fuzz binutils on OSS-Fuzz
https://sourceware.org/bugzilla/show_bug.cgi?id=22037 Bug ID: 22037 Summary: Fuzz binutils on OSS-Fuzz Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: konstantin.s.serebryany at gmail dot com CC: nickc at redhat dot com Target Milestone: --- OSS-Fuzz is a continuous automated fuzzing service, available for open-source software for free. https://github.com/google/oss-fuzz https://opensource.googleblog.com/2017/05/oss-fuzz-five-months-later-and.html Given the recent findings in readelf (http://seclists.org/oss-sec/2017/q1/635) you may be interested in setting up continuous fuzzing with OSS-Fuzz. Nick, FYI, there are other folks in redhat who already use OSS-Fuzz, see e.g. https://github.com/google/oss-fuzz/blob/master/projects/libreoffice/project.yaml -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/21868] [2.29/2.30 Regression] ICE in fix_errata_and_relocate_erratum_stubs, at ../../gold/aarch64.cc:1999
https://sourceware.org/bugzilla/show_bug.cgi?id=21868 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The binutils-2_29-branch branch has been updated by Han Shen: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ee5d69b8af9d798b386e3e71e96ac51d0f9528d1 commit ee5d69b8af9d798b386e3e71e96ac51d0f9528d1 Author: Han Shen Date: Mon Aug 28 16:36:45 2017 -0700 Import from mainline to fix PR gold/21868. 2017-08-28 James Clarke gold/ChangeLog: PR gold/21868 * aarch64.cc (AArch64_relobj::try_fix_erratum_843419_optimized): Add extra view offset argument to function. (AArch64_relobj::fix_errata_and_relocate_erratum_stubs): Add extra view offset set to the output offset when the view has is_input_output_view set, since it has not already been included. Pass this to try_fix_erratum_843419_optimized. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/21840] Undefined behavior round 3
https://sourceware.org/bugzilla/show_bug.cgi?id=21840 --- Comment #5 from Randy Macleod --- Super. Thanks Nick. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/22032] New: Memory leak in bfd_close_all_done
https://sourceware.org/bugzilla/show_bug.cgi?id=22032 Bug ID: 22032 Summary: Memory leak in bfd_close_all_done Product: binutils Version: 2.30 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-6 build-x86_64-linux]$ cat /tmp/x.c #include int main () { printf ("Hello\n"); return 0; } [hjl@gnu-6 build-x86_64-linux]$ gcc -g /tmp/x.c [hjl@gnu-6 build-x86_64-linux]$ ./binutils/objdump -x -Wl -R -SD a.out = ==2962==ERROR: LeakSanitizer: detected memory leaks Direct leak of 1821 byte(s) in 23 object(s) allocated from: #0 0x7f94efcc0830 in malloc (/lib64/libasan.so.4+0xde830) #1 0x51e082 in bfd_malloc /export/gnu/import/git/sources/binutils-gdb/bfd/libbfd.c:193 Direct leak of 1200 byte(s) in 8 object(s) allocated from: #0 0x7f94efcc0c20 in realloc (/lib64/libasan.so.4+0xdec20) #1 0x51e117 in bfd_realloc /export/gnu/import/git/sources/binutils-gdb/bfd/libbfd.c:235 Direct leak of 794 byte(s) in 1 object(s) allocated from: #0 0x7f94efcc0830 in malloc (/lib64/libasan.so.4+0xde830) #1 0x51e082 in bfd_malloc /export/gnu/import/git/sources/binutils-gdb/bfd/libbfd.c:193 #2 0x6334f15554d577ff () Direct leak of 224 byte(s) in 1 object(s) allocated from: #0 0x7f94efcc0830 in malloc (/lib64/libasan.so.4+0xde830) #1 0x51e082 in bfd_malloc /export/gnu/import/git/sources/binutils-gdb/bfd/libbfd.c:193 #2 0x7ffd76046f3f () Indirect leak of 197 byte(s) in 1 object(s) allocated from: #0 0x7f94efcc0830 in malloc (/lib64/libasan.so.4+0xde830) #1 0x51e082 in bfd_malloc /export/gnu/import/git/sources/binutils-gdb/bfd/libbfd.c:193 #2 0x7ffd7604756f () SUMMARY: AddressSanitizer: 4236 byte(s) leaked in 34 allocation(s). [hjl@gnu-6 build-x86_64-linux]$ bfd_close_all_done is missing: if (! BFD_SEND (abfd, _close_and_cleanup, (abfd))) return FALSE; -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/21840] Undefined behavior round 3
https://sourceware.org/bugzilla/show_bug.cgi?id=21840 --- Comment #4 from Nick Clifton --- The patch is now checked in to the 2.29 branch as well. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils