mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Fix various bugs reported by valgrind --tool=memcheck (#46978)
This commit is contained in:
@@ -288,7 +288,9 @@ dns_rdataslab_fromrdataset(dns_rdataset_t *rdataset, isc_mem_t *mctx,
|
||||
region->base = rawbuf;
|
||||
region->length = buflen;
|
||||
|
||||
memset(rawbuf, 0, buflen);
|
||||
rawbuf += reservelen;
|
||||
|
||||
#if DNS_RDATASET_FIXED
|
||||
offsetbase = rawbuf;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user