=================================================================
==3254006==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000082 (pc 0x555555772015 bp 0x7fffffffd090 sp 0x7fffffffcfa0 T0)
==3254006==The signal is caused by a READ memory access.
==3254006==Hint: address points to the zero page.
#0 0x555555772015 in ucl_hash_iterate2 /home/gabesherman/harness_test/AutoHarn-Evaluation/ucl/lib_asan/src/ucl_hash.c:417:22
#1 0x5555557ac13a in ucl_emitter_common_start_object /home/gabesherman/harness_test/AutoHarn-Evaluation/ucl/lib_asan/src/ucl_emitter.c:347:16
#2 0x5555557a2cfa in ucl_emit_yaml_start_obj /home/gabesherman/harness_test/AutoHarn-Evaluation/ucl/lib_asan/src/ucl_emitter.c:540:1
#3 0x555555759e05 in ucl_object_emit_streamline_start_container /home/gabesherman/harness_test/AutoHarn-Evaluation/ucl/lib_asan/src/ucl_emitter_streamline.c:118:4
#4 0x5555556ae22a in main /home/gabesherman/harness_test/AutoHarn-Results/ucl/hopper-25/reproducer.c:35:5
#5 0x7ffff7c29d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#6 0x7ffff7c29e3f in __libc_start_main csu/../csu/libc-start.c:392:3
#7 0x5555555f03f4 in _start (/home/gabesherman/harness_test/AutoHarn-Results/ucl/hopper-25/reproducer+0x9c3f4) (BuildId: b83c5604da44e72ad8239a2c4864d1141ceb02f3)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/gabesherman/harness_test/AutoHarn-Evaluation/ucl/lib_asan/src/ucl_hash.c:417:22 in ucl_hash_iterate2
==3254006==ABORTING
A segmentation fault occurs in the below program when provided with malformed input. This behavior occurs at line 417 in ucl_parser.c.
Test Environment
Ubuntu 22.04, 64bit
How to trigger
./filename poc
Version
Latest: f897d5a0fed3a4474a4c3137c7b92853845fed47
Poc File
https://github.com/FuturesLab/POC/blob/main/ucl/hop-poc20
Address Sanitizer Output