stcorp / coda

The Common Data Access toolset
http://stcorp.github.io/coda/doc/html/index.html
BSD 3-Clause "New" or "Revised" License
39 stars 17 forks source link

harp_program_from_string_fuzzer: Direct-leak in harp_program_new #74

Closed schwehr closed 4 years ago

schwehr commented 4 years ago
==234513==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #1 0x55710a44067e in harp_program_new third_party/stcorp_harp/libharp/harp-program.c:47:31
    #2 0x55710a4265d2 in harp_operation_parser_parse libharp/harp-operation-parser.y:1682:17
    #3 0x55710a430235 in harp_program_from_string libharp/harp-operation-parser.y:1700:9
    #4 0x55710a229bcc in LLVMFuzzerTestOneInput third_party/stcorp_harp/fuzz/harp_program_from_string_fuzzer.cc:19:3

testcase-4831660308955136.zip

schwehr commented 4 years ago

whoops. I will make an issue in harp