You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valgrind ./simple <input> --leak-check=full
==10333== Memcheck, a memory error detector
==10333== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==10333== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==10333== Command: ./simple <input> --leak-check=full
==10333==
crash:2: ExampleList: [ (0) "line1 (1) line2skdfj ]
crash:7: ExampleStr: [line 1
2]
crash:9: Missing argument to option 'Include'
==10333== Invalid read of size 1
==10333== at 0x407F77: dotconf_cb_include (dotconf.c:1461)
==10333== by 0x40451C: dotconf_invoke_command (dotconf.c:369)
==10333== by 0x40451C: dotconf_handle_command (dotconf.c:706)
==10333== by 0x404888: dotconf_command_loop (dotconf.c:745)
==10333== by 0x401713: main (simple.c:25)
==10333== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==10333==
==10333==
==10333== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==10333== Access not within mapped region at address 0x0
==10333== at 0x407F77: dotconf_cb_include (dotconf.c:1461)
==10333== by 0x40451C: dotconf_invoke_command (dotconf.c:369)
==10333== by 0x40451C: dotconf_handle_command (dotconf.c:706)
==10333== by 0x404888: dotconf_command_loop (dotconf.c:745)
==10333== by 0x401713: main (simple.c:25)
==10333== If you believe this happened as a result of a stack
==10333== overflow in your program's main thread (unlikely but
==10333== possible), you can try to increase the size of the
==10333== main thread stack using the --main-stacksize= flag.
==10333== The main thread stack size used in this run was 8388608.
==10333==
==10333== HEAP SUMMARY:
==10333== in use at exit: 1,134 bytes in 6 blocks
==10333== total heap usage: 16 allocs, 10 frees, 6,656 bytes allocated
==10333==
==10333== LEAK SUMMARY:
==10333== definitely lost: 0 bytes in 0 blocks
==10333== indirectly lost: 0 bytes in 0 blocks
==10333== possibly lost: 0 bytes in 0 blocks
==10333== still reachable: 1,134 bytes in 6 blocks
==10333== suppressed: 0 bytes in 0 blocks
==10333== Rerun with --leak-check=full to see details of leaked memory
==10333==
==10333== For counts of detected and suppressed errors, rerun with: -v
==10333== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
found with afl-fuzz
The text was updated successfully, but these errors were encountered:
bblough
pushed a commit
to bblough/dotconf
that referenced
this issue
Oct 11, 2017
Input for
examples/simple
:How to reproduce:
./simple <input>
Valgrind output:
found with afl-fuzz
The text was updated successfully, but these errors were encountered: