================================================================= ==73422==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6050000006db at pc 0x0001016eec84 bp 0x00016f0f17d0 sp 0x00016f0f0f80 READ of size 512 at 0x6050000006db thread T0 SCARINESS: 26 (multi-byte-read-heap-buffer-overflow) ==73422==WARNING: failed to spawn external symbolizer (errno: 9) ==73422==WARNING: failed to spawn external symbolizer (errno: 9) ==73422==WARNING: failed to spawn external symbolizer (errno: 9) ==73422==WARNING: failed to spawn external symbolizer (errno: 9) ==73422==WARNING: failed to spawn external symbolizer (errno: 9) ==73422==WARNING: Failed to use and restart external symbolizer! #0 0x0001016eec80 in __asan_memcpy (in libclang_rt.asan_osx_dynamic.dylib) + 1024 #1 0x000100d0d790 in handle_slice rcfg.c:147 #2 0x000100d0cd8c in dispatch rcfg.c:211 #3 0x000100d0ca4c in rcfg_decode rcfg.c:247 #4 0x000100d0e418 in main rcfg_cli.c:59 #5 0x00018d1844e0 in start (in dyld) + 6988 0x6050000006db is located 0 bytes after 11-byte region [0x6050000006d0,0x6050000006db) allocated by thread T0 here: #0 0x0001016f1164 in wrap_malloc (in libclang_rt.asan_osx_dynamic.dylib) + 120 #1 0x000100d0e610 in read_file rcfg_cli.c:29 #2 0x000100d0e3a8 in main rcfg_cli.c:53 #3 0x00018d1844e0 in start (in dyld) + 6988 SUMMARY: AddressSanitizer: heap-buffer-overflow (targets/samples/sample-c/build-asan/rcfg:arm64+0x100001790) in handle_slice+0x1d4 Shadow bytes around the buggy address: 0x605000000400: fd fd fa fa fa fa fa fa fa fa fd fa fa fa fa fa 0x605000000480: fa fa fa fa fd fa fa fa fa fa fa fa fa fa fd fa 0x605000000500: fa fa fa fa fa fa fa fa fd fa fa fa fa fa fa fa 0x605000000580: fa fa 00 07 fa fa fa fa fa fa fa fa 00 00 fa fa 0x605000000600: fa fa fa fa fa fa 00 06 fa fa fa fa fa fa fa fa =>0x605000000680: 00 04 fa fa fa fa fa fa fa fa 00[03]fa fa fa fa 0x605000000700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x605000000780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x605000000800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x605000000880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x605000000900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==73422==ABORTING CRASH_RATE: 5/5 [run-sanitizer-multi] REVERIFY: 5/5 - reproduced in 5/5 reverification runs