summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-packet.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-21 19:54:54 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-26 19:09:10 +0100
commit10b45040024da140fc2ea5761f905e745c11c982 (patch)
treeff22b52565661d2ce0e6e5ea53b2bdc4371c543a /src/resolve/resolved-dns-packet.c
parent7d7fa31c62242e11494ace491a8c98fb070d4e8a (diff)
resolved: don't choke on NSEC/NSEC3 RRs with no bitmap
This might happen in some cases (empty non-terminals...) and we should not choke on it.
Diffstat (limited to 'src/resolve/resolved-dns-packet.c')
-rw-r--r--src/resolve/resolved-dns-packet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c
index 14faf9e4ab..7908d0bcf5 100644
--- a/src/resolve/resolved-dns-packet.c
+++ b/src/resolve/resolved-dns-packet.c
@@ -643,7 +643,6 @@ static int dns_packet_append_types(DnsPacket *p, Bitmap *types, size_t *start) {
int r;
assert(p);
- assert(types);
saved_size = p->size;