commit | 14a60d420a66368a4262e8ecf259781292509659 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Aug 03 10:30:06 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Aug 03 10:30:07 2022 +0200 |
tree | 059aaf8710e70ccf337614f9f5534f27731024af | |
parent | 642170a653d1587572fbce010156b49923f06947 [diff] |
BUG/MEDIUM: dns: Properly initialize new DNS session When a new DNS session is created, all its fields are not properly initialized. For instance, "tx_msg_offset" can have any value after the allocation. So, to fix the bug, pool_zalloc() is now used to allocate new DNS session. This patch should fix the issue #1781. It must be backported as far as 2.4.