2
0
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:
Mukund Sivaraman
2018-01-13 00:31:30 +05:30
parent 1883d11ca2
commit f96133826e
13 changed files with 70 additions and 34 deletions

View File

@@ -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