The fuzzer dns_message_parse.c is leaking memory.
Job #1203280 failed for f0a66cb5:
==12100==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 1017 byte(s) in 9 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7c5a in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2029:4
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c6e409 in towire_ptr /builds/isc-projects/bind9/lib/dns/./rdata/generic/ptr_12.c:105:10
#9 0x7f7780c67f9a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Direct leak of 904 byte(s) in 8 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c78caa in towire_nsec /builds/isc-projects/bind9/lib/dns/./rdata/generic/nsec_47.c:112:2
#9 0x7f7780c6826a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Direct leak of 339 byte(s) in 3 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c6e409 in towire_ptr /builds/isc-projects/bind9/lib/dns/./rdata/generic/ptr_12.c:105:10
#9 0x7f7780c67f9a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Direct leak of 113 byte(s) in 1 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c78689 in towire_rrsig /builds/isc-projects/bind9/lib/dns/./rdata/generic/rrsig_46.c:350:2
#9 0x7f7780c67aea in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 6667 byte(s) in 59 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c78689 in towire_rrsig /builds/isc-projects/bind9/lib/dns/./rdata/generic/rrsig_46.c:350:2
#9 0x7f7780c67aea in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 5537 byte(s) in 49 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c78caa in towire_nsec /builds/isc-projects/bind9/lib/dns/./rdata/generic/nsec_47.c:112:2
#9 0x7f7780c6826a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 1140 byte(s) in 57 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c78689 in towire_rrsig /builds/isc-projects/bind9/lib/dns/./rdata/generic/rrsig_46.c:350:2
#9 0x7f7780c67aea in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 1017 byte(s) in 9 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c6e409 in towire_ptr /builds/isc-projects/bind9/lib/dns/./rdata/generic/ptr_12.c:105:10
#9 0x7f7780c67f9a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 903 byte(s) in 27 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c78caa in towire_nsec /builds/isc-projects/bind9/lib/dns/./rdata/generic/nsec_47.c:112:2
#9 0x7f7780c6826a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 678 byte(s) in 6 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c74f5e in towire_in_srv /builds/isc-projects/bind9/lib/dns/./rdata/in_1/srv_33.c:192:10
#9 0x7f7780c67e05 in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 452 byte(s) in 4 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7c5a in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2029:4
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c6e409 in towire_ptr /builds/isc-projects/bind9/lib/dns/./rdata/generic/ptr_12.c:105:10
#9 0x7f7780c67f9a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 392 byte(s) in 13 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7c5a in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2029:4
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c6e409 in towire_ptr /builds/isc-projects/bind9/lib/dns/./rdata/generic/ptr_12.c:105:10
#9 0x7f7780c67f9a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 254 byte(s) in 6 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c6e409 in towire_ptr /builds/isc-projects/bind9/lib/dns/./rdata/generic/ptr_12.c:105:10
#9 0x7f7780c67f9a in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 226 byte(s) in 2 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c7640f in towire_in_kx /builds/isc-projects/bind9/lib/dns/./rdata/in_1/kx_36.c:121:10
#9 0x7f7780c67c00 in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 226 byte(s) in 2 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a7d7 in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:451:11
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c77266 in towire_dname /builds/isc-projects/bind9/lib/dns/./rdata/generic/dname_39.c:93:10
#9 0x7f7780c68256 in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 33 byte(s) in 1 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c7640f in towire_in_kx /builds/isc-projects/bind9/lib/dns/./rdata/in_1/kx_36.c:121:10
#9 0x7f7780c67c00 in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 29 byte(s) in 1 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c74f5e in towire_in_srv /builds/isc-projects/bind9/lib/dns/./rdata/in_1/srv_33.c:192:10
#9 0x7f7780c67e05 in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
Indirect leak of 27 byte(s) in 1 object(s) allocated from:
#0 0x496b2d in malloc (/builds/isc-projects/bind9/fuzz/.libs/dns_message_parse+0x496b2d)
#1 0x7f77819380f0 in default_memalloc /builds/isc-projects/bind9/lib/isc/mem.c:713:8
#2 0x7f7781928251 in mem_get /builds/isc-projects/bind9/lib/isc/mem.c:622:8
#3 0x7f77819382c7 in isc___mem_get /builds/isc-projects/bind9/lib/isc/mem.c:1044:9
#4 0x7f7781921460 in isc__mem_get /builds/isc-projects/bind9/lib/isc/mem.c:2432:10
#5 0x7f778086a50d in dns_compress_add /builds/isc-projects/bind9/lib/dns/compress.c:417:9
#6 0x7f7780ad7820 in dns_name_towire2 /builds/isc-projects/bind9/lib/dns/name.c:2047:3
#7 0x7f7780ad6b5a in dns_name_towire /builds/isc-projects/bind9/lib/dns/name.c:1930:10
#8 0x7f7780c77266 in towire_dname /builds/isc-projects/bind9/lib/dns/./rdata/generic/dname_39.c:93:10
#9 0x7f7780c68256 in dns_rdata_towire /builds/isc-projects/bind9/lib/dns/rdata.c:804:2
#10 0x7f7780d837b3 in towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:492:13
#11 0x7f7780d824f5 in dns_rdataset_towiresorted /builds/isc-projects/bind9/lib/dns/rdataset.c:554:10
#12 0x7f7780a2329c in dns_message_rendersection /builds/isc-projects/bind9/lib/dns/message.c:2129:15
#13 0x4c776f in render_message /builds/isc-projects/bind9/fuzz/dns_message_parse.c:119:2
#14 0x4c6582 in LLVMFuzzerTestOneInput /builds/isc-projects/bind9/fuzz/dns_message_parse.c:164:11
#15 0x4c8614 in test_one_file /builds/isc-projects/bind9/fuzz/main.c:51:3
#16 0x4c88f8 in test_all_from /builds/isc-projects/bind9/fuzz/main.c:87:3
#17 0x4c80bd in main /builds/isc-projects/bind9/fuzz/main.c:123:2
#18 0x7f777fdcf09a in __libc_start_main /build/glibc-vjB4T1/glibc-2.28/csu/../csu/libc-start.c:308:16
SUMMARY: AddressSanitizer: 19954 byte(s) leaked in 258 allocation(s).
FAIL dns_message_parse (exit status: 134)
Edited by Mark Andrews