https://sourceware.org/bugzilla/show_bug.cgi?id=22426
Bug ID: 22426 Summary: objcopy with fabricated file Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: yeokaiyeat at hotmail dot com Target Milestone: --- Created attachment 10584 --> https://sourceware.org/bugzilla/attachment.cgi?id=10584&action=edit testcase that crashes objcopy hello, during a fuzzing attempt on objcopy in binutils (2.26.1), fuzzed file produces a crash when a certain fuzzed input is given. The same file is tested again in binutils build 2.29.59.20171104 the error produced are as follows: ./objcopy: stYS7rQI : attempt to write out unknown reloc type ./objcopy:stYS7rQI: Invalid operation =================================================================== ==8555==ERROR: LeakSanitizer: detected memory leaks Direct leak of 9 byte(s) in 1 object(s) allocated from: #0 0x7fdaf84d3602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602 #1 0xa755ec in xmalloc xmalloc.c:147 SUMMARY: AddressSanitizer: 9 byte(s) leaked in 1 allocation(s). attached is the test case -- 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