mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-06 07:49:24 -04:00
|
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
FreeBSD / clang (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
app_log() and send_log() build the message with vsnprintf(), which stops at the first NUL byte and therefore cannot emit an arbitrary binary payload. Add two variants that pass a pre-built <msg> of <len> bytes straight to __send_log() without formatting it, so embedded NUL bytes are preserved: * app_log_raw() : takes an explicit list of loggers and a tag * send_log_raw() : derives both from a proxy The send path still strips trailing LF / NUL bytes (kept for the legacy text logs), so the message must be self-terminating by its own encoding and must not rely on a meaningful trailing '\n' or NUL. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||