mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 00:14:31 +00:00
haproxy public development tree
4e22f28feb
This was revealed by libasan when each time qc_send_frames() is run at the first time: ================================================================= ==84177==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fbaaca2b3c8 at pc 0x560a4fdb7c2e bp 0x7fbaaca2b300 sp 0x7fbaaca2b2f8 READ of size 1 at 0x7fbaaca2b3c8 thread T6 #0 0x560a4fdb7c2d in qc_send_frames src/mux_quic.c:473 #1 0x560a4fdb83be in qc_send src/mux_quic.c:563 #2 0x560a4fdb8a6e in qc_io_cb src/mux_quic.c:638 #3 0x560a502ab574 in run_tasks_from_lists src/task.c:580 #4 0x560a502ad589 in process_runnable_tasks src/task.c:883 #5 0x560a501e3c88 in run_poll_loop src/haproxy.c:2675 #6 0x560a501e4519 in run_thread_poll_loop src/haproxy.c:2846 #7 0x7fbabd120ea6 in start_thread nptl/pthread_create.c:477 #8 0x7fbabcb19dee in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xfddee) Address 0x7fbaaca2b3c8 is located in stack of thread T6 at offset 56 in frame #0 0x560a4fdb7f00 in qc_send src/mux_quic.c:514 This frame has 1 object(s): [32, 48) 'frms' (line 515) <== Memory access at offset 56 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork (longjmp and C++ exceptions *are* supported) Thread T6 created by T0 here: #0 0x7fbabd1bd2a2 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:214 #1 0x560a5036f9b8 in setup_extra_threads src/thread.c:221 #2 0x560a501e70fd in main src/haproxy.c:3457 #3 0x7fbabca42d09 in __libc_start_main ../csu/libc-start.c:308 SUMMARY: AddressSanitizer: stack-buffer-overflow src/mux_quic.c:473 in qc_send_frames |
||
---|---|---|
.github | ||
addons | ||
admin | ||
dev | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
ROADMAP | ||
SUBVERS | ||
VERDATE | ||
VERSION |
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)