mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-15 07:40:59 -04:00
Fix DoH quota global variables type
The 'named_g_http_listener_clients' and 'named_g_http_streams_per_conn'
global variables are defined as 'in_port_t', which is usually 16 bits,
but both the readers and the writers of those variables use 'uint32_t'
as the target/source, which can result in truncation.
Use correct types.
(cherry picked from commit 281660ecc1)
This commit is contained in:
parent
d8c573f73b
commit
cdceadf3f1
1 changed files with 2 additions and 2 deletions
|
|
@ -78,8 +78,8 @@ EXTERN in_port_t named_g_tlsport INIT(0);
|
|||
EXTERN in_port_t named_g_httpsport INIT(0);
|
||||
EXTERN in_port_t named_g_httpport INIT(0);
|
||||
|
||||
EXTERN in_port_t named_g_http_listener_clients INIT(0);
|
||||
EXTERN in_port_t named_g_http_streams_per_conn INIT(0);
|
||||
EXTERN uint32_t named_g_http_listener_clients INIT(0);
|
||||
EXTERN uint32_t named_g_http_streams_per_conn INIT(0);
|
||||
|
||||
EXTERN named_server_t *named_g_server INIT(NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue