=================================================================
==17450==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61d00000134a at pc 0x7f50ad1f6550 bp 0x7fff5b5a57b0 sp 0x7fff5b5a4f60
READ of size 2251 at 0x61d00000134a thread T0
#0 0x7f50ad1f654f (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xa854f)
#1 0x7f50ac8e6783 in cJSON_ParseWithOpts src/cJSON.c:1022
#2 0x560d9f440e28 in gcs_config_profile test/../gcs.c:199
#3 0x560d9f43ae74 in main test/test_gcs.c:127
#4 0x7f50abdb709a in __libc_start_main ../csu/libc-start.c:308
#5 0x560d9f43bc99 in _start (/drone/src/src/mod/applications/mod_http_cache/test/.libs/test_gcs+0xac99)
0x61d00000134a is located 0 bytes to the right of 2250-byte region [0x61d000000a80,0x61d00000134a)
allocated by thread T0 here:
#0 0x7f50ad237330 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xe9330)
#1 0x560d9f440dc7 in gcs_config_profile test/../gcs.c:186
#2 0x560d9f43ae74 in main test/test_gcs.c:127
#3 0x7f50abdb709a in __libc_start_main ../csu/libc-start.c:308
SUMMARY: AddressSanitizer: heap-buffer-overflow (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xa854f)
Shadow bytes around the buggy address:
0x0c3a7fff8210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c3a7fff8220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c3a7fff8230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c3a7fff8240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c3a7fff8250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c3a7fff8260: 00 00 00 00 00 00 00 00 00[02]fa fa fa fa fa fa
0x0c3a7fff8270: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c3a7fff8280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c3a7fff8290: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c3a7fff82a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c3a7fff82b0: 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
==17450==ABORTING