mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Be less restrictive on initializing and magic numbers
This commit is contained in:
@@ -143,7 +143,6 @@ dns_tcpmsg_init(isc_mem_t *mctx, isc_socket_t *sock, dns_tcpmsg_t *tcpmsg)
|
||||
REQUIRE(mctx != NULL);
|
||||
REQUIRE(sock != NULL);
|
||||
REQUIRE(tcpmsg != NULL);
|
||||
REQUIRE(!VALID_TCPMSG(tcpmsg));
|
||||
|
||||
tcpmsg->magic = TCPMSG_MAGIC;
|
||||
tcpmsg->size = 0;
|
||||
|
Reference in New Issue
Block a user