Hello,

when running regtests against 1.9 branch there are findings (not seen in
master branch)

***  h1    0.0
debug|=================================================================
***  h1    0.0 debug|==16493==ERROR: AddressSanitizer: heap-use-after-free
on address 0x619000003c95 at pc 0x0000006ca207 bp 0x7ffd92124b60 sp
0x7ffd92124b50
***  h1    0.0 debug|WRITE of size 1 at 0x619000003c95 thread T0
***  h1    0.0 debug|    #0 0x6ca206 in update_log_hdr src/log.c:1260
***  h1    0.0 debug|    #1 0x6ca206 in __send_log src/log.c:1445
***  h1    0.0 debug|    #2 0x6ca48a in send_log src/log.c:1323
***  h1    0.0 debug|    #3 0x5ea73a in set_server_check_status
src/checks.c:301
***  h1    0.0 debug|    #4 0x5fcb64 in process_chk_conn src/checks.c:2277
***  h1    0.0 debug|    #5 0x5fcb64 in process_chk src/checks.c:2349
***  h1    0.0 debug|    #6 0x7a4842 in process_runnable_tasks
src/task.c:390
***  h1    0.0 debug|    #7 0x60e2bb in run_poll_loop src/haproxy.c:2661
***  h1    0.0 debug|    #8 0x60e2bb in run_thread_poll_loop
src/haproxy.c:2726
***  h1    0.0 debug|    #9 0x421589 in main src/haproxy.c:3388
***  h1    0.0 debug|    #10 0x7f747e82a412 in __libc_start_main
(/lib64/libc.so.6+0x24412)
***  h1    0.0 debug|    #11 0x42530d in _start
(/big/ilia/haproxy-1.9/haproxy+0x42530d)
***  h1    0.0 debug|
***  h1    0.0 debug|0x619000003c95 is located 21 bytes inside of 1025-byte
region [0x619000003c80,0x619000004081)
***  h1    0.0 debug|freed by thread T0 here:
***  h1    0.0 debug|    #0 0x7f747f0f6048 in __interceptor_realloc
(/lib64/libasan.so.5+0xf0048)
***  h1    0.0 debug|    #1 0x6ca5a1 in my_realloc2
include/common/standard.h:1364
***  h1    0.0 debug|    #2 0x6ca5a1 in init_log_buffers src/log.c:1710
***  h1    0.0 debug|
***  h1    0.0 debug|previously allocated by thread T0 here:
***  h1    0.0 debug|    #0 0x7f747f0f6048 in __interceptor_realloc
(/lib64/libasan.so.5+0xf0048)
***  h1    0.0 debug|    #1 0x6ca5a1 in my_realloc2
include/common/standard.h:1364
***  h1    0.0 debug|    #2 0x6ca5a1 in init_log_buffers src/log.c:1710
***  h1    0.0 debug|
***  h1    0.0 debug|SUMMARY: AddressSanitizer: heap-use-after-free
src/log.c:1260 in update_log_hdr

Reply via email to