]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proto_quic: Wrong allocations for TX rings and RX bufs
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 27 Jan 2022 09:23:31 +0000 (10:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Jan 2022 15:37:55 +0000 (16:37 +0100)
commit794d068d8fbe37fe6fb4803c52ae01544f9f0139
treef25864785b30543fb42ca2975da6644051b8f19b
parentd152309423c4a235d1887f24cd1d1f566219c7d0
MINOR: proto_quic: Wrong allocations for TX rings and RX bufs

As mentionned in the comment, the tx_qrings and rxbufs members of
receiver struct must be pointers to pointers!
Modify the functions responsible of their allocations consequently.
Note that this code could work because sizeof rxbuf and sizeof tx_qrings
are greater than the size of pointer!
include/haproxy/receiver-t.h
src/proto_quic.c