]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: do not set buffer for empty STREAM frame
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 25 Apr 2023 14:39:32 +0000 (16:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 26 Apr 2023 15:50:16 +0000 (17:50 +0200)
commit42c5b75cac88401bd02157588643285796e2af8a
tree0b6869a11a3b9bbb8f16a1f2bc60e9b66fa97e19
parent19eaf88fdac8de893fc1365f26c18c5c75970dca
MINOR: mux-quic: do not set buffer for empty STREAM frame

Previous patch fixes an issue occurring with empty STREAM frames without
payload. The crash was hidden in part because buf/data fields of
qf_stream were set even if no payload is referenced. This was not the
true cause of the crash but to ease future debugging, a STREAM frame
built with no payload now has its buf and data fields set to NULL.

This should be backported up to 2.6.
src/mux_quic.c