Re: Memory leak in binutils

2019-12-04 Thread Alan Modra
On Wed, Dec 04, 2019 at 07:14:06PM +0800, Xiaohan Wu wrote: > Hello, I got a memory leak bug in binutils. > > ASAN log: > > ==29347==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 3 byte(s) in 1 object(s) allocated from: > #0 0x483514 in __strdup > /src/llvm-project/compiler

Re: Memory leak in binutils

2019-12-04 Thread Philippe Antoine
Hi Xiaohan, Are you running the fuzz target from ? https://github.com/google/oss-fuzz/blob/master/projects/binutils/fuzz_disassemble.c Did you apply this patch before compiling it ? https://github.com/google/oss-fuzz/blob/master/projects/binutils/patch.diff Cheers, Philippe > Le 4 déc. 2019 à 12