mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Merge branch '2552-comparison-between-signed-and-unsigned-on-arm7' into 'main'
Fix comparison between signed and unsigned integer expressions Closes #2552 See merge request isc-projects/bind9!4766
This commit is contained in:
@@ -704,7 +704,7 @@ https_readcb(isc_nmhandle_t *handle, isc_result_t result, isc_region_t *region,
|
||||
return;
|
||||
}
|
||||
|
||||
if (readlen < region->length) {
|
||||
if ((size_t)readlen < region->length) {
|
||||
INSIST(session->bufsize == 0);
|
||||
INSIST(region->length - readlen < MAX_DNS_MESSAGE_SIZE);
|
||||
memmove(session->buf, region->base, region->length - readlen);
|
||||
|
Reference in New Issue
Block a user