=================================================================
==17350==ERROR: AddressSanitizer: global-buffer-overflow on address 0x55f0f31bc0c0 at pc 0x7ff549998983 bp 0x7ffeb23e2a70 sp 0x7ffeb23e2220
READ of size 40 at 0x55f0f31bc0c0 thread T0
#0 0x7ff549998982 in __interceptor_memcpy ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:806
#1 0x7ff548b6879e in SHA256_Update (/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1+0x1e879e)
#2 0x7ff548b68c3d in SHA256 (/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1+0x1e8c3d)
#3 0x55f0f31b86d0 in signtoken test/../gcs.c:85
#4 0x55f0f31b1754 in main test/test_gcs.c:82
#5 0x7ff5487bfd09 in __libc_start_main ../csu/libc-start.c:308
#6 0x55f0f31b3449 in _start (/drone/src/src/mod/applications/mod_http_cache/test/.libs/test_gcs+0xb449)
0x55f0f31bc0c0 is located 32 bytes to the left of global variable '*.LC123' defined in 'test/test_gcs.c' (0x55f0f31bc0e0) of size 8
'*.LC123' is ascii string '%s, %s
'
0x55f0f31bc0c0 is located 23 bytes to the right of global variable '*.LC122' defined in 'test/test_gcs.c' (0x55f0f31bc0a0) of size 9
'*.LC122' is ascii string 'standard'
SUMMARY: AddressSanitizer: global-buffer-overflow ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:806 in __interceptor_memcpy
Shadow bytes around the buggy address:
0x0abe9e62f7c0: 00 02 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9
0x0abe9e62f7d0: 00 00 00 00 00 06 f9 f9 f9 f9 f9 f9 00 00 00 00
0x0abe9e62f7e0: 00 03 f9 f9 f9 f9 f9 f9 00 00 06 f9 f9 f9 f9 f9
0x0abe9e62f7f0: 06 f9 f9 f9 f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9
0x0abe9e62f800: 07 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 07 f9 f9 f9
=>0x0abe9e62f810: f9 f9 f9 f9 00 01 f9 f9[f9]f9 f9 f9 00 f9 f9 f9
0x0abe9e62f820: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9 06 f9 f9 f9
0x0abe9e62f830: f9 f9 f9 f9 00 00 00 00 00 00 00 00 02 f9 f9 f9
0x0abe9e62f840: f9 f9 f9 f9 00 05 f9 f9 f9 f9 f9 f9 00 00 04 f9
0x0abe9e62f850: f9 f9 f9 f9 00 00 00 00 00 00 04 f9 f9 f9 f9 f9
0x0abe9e62f860: 00 00 00 00 06 f9 f9 f9 f9 f9 f9 f9 00 06 f9 f9
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
Shadow gap: cc
==17350==ABORTING