mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-06 06:49:35 -05:00
fix uninit after malloc for on_tcp_waiting_list.
This commit is contained in:
parent
4b6e41e3de
commit
0e0c57734a
1 changed files with 1 additions and 0 deletions
|
|
@ -1717,6 +1717,7 @@ pending_tcp_query(struct serviced_query* sq, sldns_buffer* packet,
|
|||
memcpy(&w->addr, &sq->addr, sq->addrlen);
|
||||
w->addrlen = sq->addrlen;
|
||||
w->outnet = sq->outnet;
|
||||
w->on_tcp_waiting_list = 0;
|
||||
w->cb = callback;
|
||||
w->cb_arg = callback_arg;
|
||||
w->ssl_upstream = sq->ssl_upstream;
|
||||
|
|
|
|||
Loading…
Reference in a new issue