Symbol: log_assert
sbin/unwind/libunbound/dns64/dns64.c
1006
log_assert(qstate->qinfo.qtype == LDNS_RR_TYPE_PTR);
sbin/unwind/libunbound/dns64/dns64.c
203
log_assert(ipv6_len == 16); (void)ipv6_len;
sbin/unwind/libunbound/dns64/dns64.c
204
log_assert(offset == 32 || offset == 40 || offset == 48 || offset == 56 ||
sbin/unwind/libunbound/dns64/dns64.c
233
log_assert(nm_len == MAX_PTR_QNAME_IPV4); (void)nm_len;
sbin/unwind/libunbound/dns64/dns64.c
238
log_assert(c < ptr+nm_len);
sbin/unwind/libunbound/dns64/dns64.c
242
log_assert(c + sizeof(IPV4_PTR_SUFFIX) <= ptr+nm_len);
sbin/unwind/libunbound/dns64/dns64.c
262
log_assert(ipv6_len == 16); (void)ipv6_len;
sbin/unwind/libunbound/dns64/dns64.c
304
log_assert(prefix_addr_len == 16 && a_len == 4 && aaaa_len == 16);
sbin/unwind/libunbound/dns64/dns64.c
305
log_assert(prefix_net == 32 || prefix_net == 40 || prefix_net == 48 ||
sbin/unwind/libunbound/dns64/dns64.c
831
log_assert(super->region);
sbin/unwind/libunbound/dns64/dns64.c
832
log_assert(qstate->return_msg);
sbin/unwind/libunbound/dns64/dns64.c
833
log_assert(qstate->return_msg->rep);
sbin/unwind/libunbound/iterator/iter_delegpt.c
112
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
179
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
195
log_assert(ns->port>0);
sbin/unwind/libunbound/iterator/iter_delegpt.c
206
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
208
log_assert(port>0);
sbin/unwind/libunbound/iterator/iter_delegpt.c
468
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
492
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
515
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
614
log_assert(dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
636
log_assert(dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
648
log_assert(dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
690
log_assert(dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
692
log_assert(port>0);
sbin/unwind/libunbound/iterator/iter_delegpt.c
735
log_assert(dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_delegpt.c
751
log_assert(ns->port>0);
sbin/unwind/libunbound/iterator/iter_delegpt.c
99
log_assert(!dp->dp_type_mlc);
sbin/unwind/libunbound/iterator/iter_donotq.c
115
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_fwd.c
224
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_fwd.c
260
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_hints.c
227
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_hints.c
263
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_hints.c
432
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_priv.c
119
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_priv.c
200
log_assert(name_len == len);
sbin/unwind/libunbound/iterator/iter_priv.c
88
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_scrub.c
238
log_assert(qnamelen > dname_rrset->dname_len);
sbin/unwind/libunbound/iterator/iter_scrub.c
83
default: log_assert(0);
sbin/unwind/libunbound/iterator/iter_scrub.c
880
log_assert(rrset->type == LDNS_RR_TYPE_NSEC);
sbin/unwind/libunbound/iterator/iter_utils.c
1027
log_assert(type==RESPONSE_TYPE_ANSWER || type==RESPONSE_TYPE_CNAME);
sbin/unwind/libunbound/iterator/iter_utils.c
1128
log_assert(p->an_numrrsets + p->ns_numrrsets + p->ar_numrrsets <=
sbin/unwind/libunbound/iterator/iter_utils.c
1141
log_assert(q->an_numrrsets + q->ns_numrrsets + q->ar_numrrsets <=
sbin/unwind/libunbound/iterator/iter_utils.c
1551
log_assert((retdpname && retdpnamelen
sbin/unwind/libunbound/iterator/iter_utils.c
466
log_assert(n > 0);
sbin/unwind/libunbound/iterator/iter_utils.c
719
log_assert(num > 1);
sbin/unwind/libunbound/iterator/iterator.c
1188
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
1239
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
1305
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
2032
log_assert(maxtargets != 0); /* that would not be useful */
sbin/unwind/libunbound/iterator/iterator.c
2068
log_assert(toget <= missing);
sbin/unwind/libunbound/iterator/iterator.c
2169
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
3734
log_assert(qstate->is_priming || foriq->wait_priming_stub);
sbin/unwind/libunbound/iterator/iterator.c
3735
log_assert(qstate->return_rcode == LDNS_RCODE_NOERROR);
sbin/unwind/libunbound/iterator/iterator.c
3844
log_assert(qstate->return_rcode == LDNS_RCODE_NOERROR);
sbin/unwind/libunbound/libunbound/context.c
271
log_assert( sldns_read_uint32(p) == UB_LIBCMD_NEWQUERY);
sbin/unwind/libunbound/libunbound/context.c
303
log_assert( sldns_read_uint32(p) == UB_LIBCMD_NEWQUERY);
sbin/unwind/libunbound/libunbound/context.c
309
log_assert(q->async);
sbin/unwind/libunbound/libunbound/context.c
358
log_assert( sldns_read_uint32(p) == UB_LIBCMD_ANSWER);
sbin/unwind/libunbound/libunbound/context.c
412
log_assert( sldns_read_uint32(p) == UB_LIBCMD_CANCEL);
sbin/unwind/libunbound/libunbound/libunbound.c
1029
log_assert(ctx->env->cfg->forwards);
sbin/unwind/libunbound/libunbound/libunbound.c
1030
log_assert(ctx->env->cfg->forwards->name);
sbin/unwind/libunbound/libunbound/libunbound.c
605
log_assert(q->async);
sbin/unwind/libunbound/libunbound/libunbound.c
909
log_assert(q->async);
sbin/unwind/libunbound/libunbound/libworker.c
1002
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1007
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1012
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1017
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1022
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1029
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1035
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1041
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1048
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1054
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1062
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1070
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1077
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1084
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1092
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1100
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
941
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
948
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
956
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
964
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
972
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
978
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
990
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
997
log_assert(0);
sbin/unwind/libunbound/respip/respip.c
108
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
1251
log_assert(super->return_msg && super->return_msg->rep);
sbin/unwind/libunbound/respip/respip.c
132
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
151
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
166
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
190
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
333
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
353
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
362
log_assert(p->str && p->str2);
sbin/unwind/libunbound/respip/respip.c
376
log_assert(pa->str && pa->str2);
sbin/unwind/libunbound/respip/respip.c
390
log_assert(pd->str && pd->str2);
sbin/unwind/libunbound/respip/respip.c
619
log_assert(rs);
sbin/unwind/libunbound/respip/respip.c
925
log_assert(ipset);
sbin/unwind/libunbound/services/authzone.c
1015
log_assert(packed_rrset_sizeof(sigold) > sigs*(sizeof(size_t) +
sbin/unwind/libunbound/services/authzone.c
227
log_assert(msg->rep->ns_numrrsets == 0);
sbin/unwind/libunbound/services/authzone.c
228
log_assert(msg->rep->ar_numrrsets == 0);
sbin/unwind/libunbound/services/authzone.c
252
log_assert(msg->rep->ar_numrrsets == 0);
sbin/unwind/libunbound/services/authzone.c
2610
log_assert(msg->rep->rrset_count == 0);
sbin/unwind/libunbound/services/authzone.c
2802
log_assert(*node); /* we already have a node when calling this */
sbin/unwind/libunbound/services/authzone.c
3023
log_assert(dname_strict_subdomain(qname, qlabs, cenm, celabs));
sbin/unwind/libunbound/services/authzone.c
3266
log_assert(ce);
sbin/unwind/libunbound/services/authzone.c
3295
log_assert(ce);
sbin/unwind/libunbound/services/authzone.c
5644
log_assert(xfr->task_transfer->worker == env->worker);
sbin/unwind/libunbound/services/authzone.c
5752
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6201
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6243
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6324
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6389
log_assert(xfr->task_transfer != NULL);
sbin/unwind/libunbound/services/authzone.c
6390
log_assert(xfr->task_transfer->worker == NULL);
sbin/unwind/libunbound/services/authzone.c
6391
log_assert(xfr->task_transfer->chunks_first == NULL);
sbin/unwind/libunbound/services/authzone.c
6392
log_assert(xfr->task_transfer->chunks_last == NULL);
sbin/unwind/libunbound/services/authzone.c
6538
log_assert(xfr->task_probe);
sbin/unwind/libunbound/services/authzone.c
6574
log_assert(xfr->task_probe);
sbin/unwind/libunbound/services/authzone.c
6845
log_assert(xfr->task_probe);
sbin/unwind/libunbound/services/authzone.c
6932
log_assert(xfr->task_nextprobe);
sbin/unwind/libunbound/services/authzone.c
7014
log_assert(xfr->task_nextprobe != NULL);
sbin/unwind/libunbound/services/authzone.c
7015
log_assert(xfr->task_nextprobe->worker == NULL ||
sbin/unwind/libunbound/services/authzone.c
923
log_assert(d && rrsig->type == LDNS_RR_TYPE_RRSIG);
sbin/unwind/libunbound/services/authzone.c
944
log_assert(rrset->type == rr_type);
sbin/unwind/libunbound/services/authzone.c
945
log_assert(rrsig->type == LDNS_RR_TYPE_RRSIG);
sbin/unwind/libunbound/services/cache/dns.c
887
log_assert(lookup[num] == 0);
sbin/unwind/libunbound/services/cache/rrset.c
216
log_assert(ref->id != 0 && k->id != 0);
sbin/unwind/libunbound/services/cache/rrset.c
217
log_assert(k->rk.dname != NULL);
sbin/unwind/libunbound/services/cache/rrset.c
249
log_assert(ref->key->id != 0);
sbin/unwind/libunbound/services/listen_dnsport.c
2263
log_assert(req->num_done_req > 0 && req->done_req_list);
sbin/unwind/libunbound/services/listen_dnsport.c
2384
log_assert(req && mesh && m);
sbin/unwind/libunbound/services/listen_dnsport.c
2770
log_assert(h2_stream->qbuffer);
sbin/unwind/libunbound/services/listen_dnsport.c
2956
log_assert(expectb64len > 0);
sbin/unwind/libunbound/services/listen_dnsport.c
3406
log_assert(table != NULL);
sbin/unwind/libunbound/services/listen_dnsport.c
3476
log_assert(timer->timer_in_list == 0);
sbin/unwind/libunbound/services/listen_dnsport.c
4997
log_assert(table != NULL);
sbin/unwind/libunbound/services/localzone.c
1583
log_assert(ctargetlen >= 3);
sbin/unwind/libunbound/services/localzone.c
1584
log_assert(qinfo->qname_len >= 1);
sbin/unwind/libunbound/services/localzone.c
460
log_assert(pd->count > 0);
sbin/unwind/libunbound/services/localzone.c
511
log_assert(0); /* duplicate name */
sbin/unwind/libunbound/services/localzone.c
578
log_assert(node);
sbin/unwind/libunbound/services/localzone.c
612
log_assert(rrset && pd);
sbin/unwind/libunbound/services/localzone.c
639
log_assert(z->dclass == rrclass);
sbin/unwind/libunbound/services/mesh.c
1109
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1117
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1153
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
1157
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
1190
log_assert(dep_m);
sbin/unwind/libunbound/services/mesh.c
1215
log_assert(n != NULL); /* must have been present */
sbin/unwind/libunbound/services/mesh.c
1219
log_assert(mesh->num_detached_states +
sbin/unwind/libunbound/services/mesh.c
1250
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
1260
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
1289
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
1328
log_assert(n != NULL); /* we checked above if statement, the reverse
sbin/unwind/libunbound/services/mesh.c
1403
log_assert(m->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1599
log_assert(m->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1800
log_assert(mstate->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1840
log_assert(mstate->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1885
log_assert(mstate->s.env->mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
1899
log_assert(mstate->s.env->mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
1977
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
sbin/unwind/libunbound/services/mesh.c
2055
log_assert(!qinfo->local_alias->next && dsrc->count == 1 &&
sbin/unwind/libunbound/services/mesh.c
2405
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
2432
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
2594
log_assert(mstate->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
2655
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
2668
log_assert(qstate->env->mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
2703
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
2707
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
537
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
582
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
669
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
704
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
761
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
790
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
848
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
877
log_assert(n != NULL);
sbin/unwind/libunbound/services/outside_network.c
1012
log_assert(
sbin/unwind/libunbound/services/outside_network.c
1085
log_assert(w->id_node.key != NULL);
sbin/unwind/libunbound/services/outside_network.c
1092
log_assert(rem); /* should have been there */
sbin/unwind/libunbound/services/outside_network.c
112
log_assert(p1->id == p2->id);
sbin/unwind/libunbound/services/outside_network.c
1175
log_assert(reuse->lru_prev->pending);
sbin/unwind/libunbound/services/outside_network.c
1177
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
sbin/unwind/libunbound/services/outside_network.c
1179
log_assert(!reuse->lru_next || reuse->lru_next->pending);
sbin/unwind/libunbound/services/outside_network.c
1181
log_assert(!outnet->tcp_reuse_first ||
sbin/unwind/libunbound/services/outside_network.c
1190
log_assert(reuse->lru_next->pending);
sbin/unwind/libunbound/services/outside_network.c
1192
log_assert(reuse->lru_next->lru_prev != reuse->lru_next);
sbin/unwind/libunbound/services/outside_network.c
1194
log_assert(!reuse->lru_prev || reuse->lru_prev->pending);
sbin/unwind/libunbound/services/outside_network.c
1196
log_assert(!outnet->tcp_reuse_last ||
sbin/unwind/libunbound/services/outside_network.c
1202
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
126
log_assert(q1->qbuflen == q2->qbuflen);
sbin/unwind/libunbound/services/outside_network.c
127
log_assert(q1->qbuflen >= 15 /* 10 header, root, type, class */);
sbin/unwind/libunbound/services/outside_network.c
1349
log_assert(pend->reuse.item_on_lru_list && pend->reuse.node.key);
sbin/unwind/libunbound/services/outside_network.c
1369
log_assert(c == pend->c);
sbin/unwind/libunbound/services/outside_network.c
1370
log_assert(pend->query->pkt == pend->c->tcp_write_pkt);
sbin/unwind/libunbound/services/outside_network.c
1371
log_assert(pend->query->pkt_len == pend->c->tcp_write_pkt_len);
sbin/unwind/libunbound/services/outside_network.c
1375
log_assert(pend->query->id_node.key);
sbin/unwind/libunbound/services/outside_network.c
1438
log_assert(!w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
1439
log_assert(!w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
1482
log_assert(pif->inuse > 0);
sbin/unwind/libunbound/services/outside_network.c
1510
log_assert(!pend->sq->busy);
sbin/unwind/libunbound/services/outside_network.c
1544
log_assert(reply_info);
sbin/unwind/libunbound/services/outside_network.c
2016
log_assert(x == p);
sbin/unwind/libunbound/services/outside_network.c
2173
log_assert(outnet->unused_fds);
sbin/unwind/libunbound/services/outside_network.c
2190
log_assert(portno < pif->inuse);
sbin/unwind/libunbound/services/outside_network.c
2261
log_assert(pend->pc);
sbin/unwind/libunbound/services/outside_network.c
2288
log_assert(pend->pc && pend->pc->cp);
sbin/unwind/libunbound/services/outside_network.c
2366
log_assert(!sq->busy);
sbin/unwind/libunbound/services/outside_network.c
2444
log_assert(reuse->tree_by_id.count < 0xffff);
sbin/unwind/libunbound/services/outside_network.c
2450
log_assert(node && node != RBTREE_NULL); /* tree not empty */
sbin/unwind/libunbound/services/outside_network.c
2461
log_assert(curid < nextid);
sbin/unwind/libunbound/services/outside_network.c
2465
log_assert(select >= count);
sbin/unwind/libunbound/services/outside_network.c
2480
log_assert(node && node != RBTREE_NULL); /* tree not empty */
sbin/unwind/libunbound/services/outside_network.c
2482
log_assert(count + (0xffff-curid) + reuse->tree_by_id.count == 0xffff);
sbin/unwind/libunbound/services/outside_network.c
250
log_assert(pi);
sbin/unwind/libunbound/services/outside_network.c
2506
log_assert(reuse->pending);
sbin/unwind/libunbound/services/outside_network.c
2511
log_assert(!reuse || (reuse && pend));
sbin/unwind/libunbound/services/outside_network.c
2519
log_assert(!reuse || (pend == reuse->pending));
sbin/unwind/libunbound/services/outside_network.c
2568
log_assert(reuse == &pend->reuse);
sbin/unwind/libunbound/services/outside_network.c
2764
log_assert(ins != NULL); /* must not be already present */
sbin/unwind/libunbound/services/outside_network.c
2833
log_assert(!(w->write_wait_queued && w->on_tcp_waiting_list));
sbin/unwind/libunbound/services/outside_network.c
2880
log_assert(len >= 10 + 5 /* offset qname, root, qtype, qclass */);
sbin/unwind/libunbound/services/outside_network.c
3019
log_assert(qbuflen >= 15 /* 10 header, root, type, class */);
sbin/unwind/libunbound/services/outside_network.c
3045
log_assert(len1 <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/services/outside_network.c
3046
log_assert(len2 <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/services/outside_network.c
3047
log_assert(len1 == len2 && len1 != 0);
sbin/unwind/libunbound/services/outside_network.c
3077
log_assert(rem); /* should have been present */
sbin/unwind/libunbound/services/outside_network.c
3145
log_assert(sq->cblist == NULL);
sbin/unwind/libunbound/services/outside_network.c
3225
log_assert(roundtime >= 0);
sbin/unwind/libunbound/services/outside_network.c
3255
log_assert(!sq->busy);
sbin/unwind/libunbound/services/outside_network.c
3291
log_assert(!sq->busy);
sbin/unwind/libunbound/services/outside_network.c
3455
log_assert(roundtime >= 0);
sbin/unwind/libunbound/services/outside_network.c
3689
log_assert(port < pif->inuse);
sbin/unwind/libunbound/services/outside_network.c
405
log_assert(w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
406
log_assert(!w->write_wait_prev);
sbin/unwind/libunbound/services/outside_network.c
421
log_assert(w);
sbin/unwind/libunbound/services/outside_network.c
422
log_assert(w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
4234
log_assert(shpif->inuse < shpif->avail_total);
sbin/unwind/libunbound/services/outside_network.c
4235
log_assert(my_port >= 0 && my_port < shpif->avail_total);
sbin/unwind/libunbound/services/outside_network.c
4260
log_assert(shpif->inuse > 0);
sbin/unwind/libunbound/services/outside_network.c
430
log_assert(!w->write_wait_prev ||
sbin/unwind/libunbound/services/outside_network.c
435
log_assert(!w->write_wait_next
sbin/unwind/libunbound/services/outside_network.c
447
log_assert(!w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
450
log_assert(reuse->write_wait_last->write_wait_next !=
sbin/unwind/libunbound/services/outside_network.c
469
log_assert(w->id_node.key == NULL);
sbin/unwind/libunbound/services/outside_network.c
477
log_assert(added); /* should have been added */
sbin/unwind/libunbound/services/outside_network.c
526
log_assert(pend_tcp->reuse.lru_next != &pend_tcp->reuse);
sbin/unwind/libunbound/services/outside_network.c
528
log_assert(outnet->tcp_reuse_first->lru_prev !=
sbin/unwind/libunbound/services/outside_network.c
536
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
538
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
540
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
580
log_assert(&key_p.reuse != (struct reuse_tcp*)result);
sbin/unwind/libunbound/services/outside_network.c
581
log_assert(&key_p != ((struct reuse_tcp*)result)->pending);
sbin/unwind/libunbound/services/outside_network.c
667
log_assert(pend);
sbin/unwind/libunbound/services/outside_network.c
668
log_assert(w->pkt);
sbin/unwind/libunbound/services/outside_network.c
669
log_assert(w->pkt_len > 0);
sbin/unwind/libunbound/services/outside_network.c
670
log_assert(w->addrlen > 0);
sbin/unwind/libunbound/services/outside_network.c
845
log_assert(reuse->lru_prev ||
sbin/unwind/libunbound/services/outside_network.c
852
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
sbin/unwind/libunbound/services/outside_network.c
856
log_assert(!reuse->lru_next || reuse->lru_next->lru_prev != reuse->lru_next);
sbin/unwind/libunbound/services/outside_network.c
857
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
865
log_assert(reuse->lru_next != reuse);
sbin/unwind/libunbound/services/outside_network.c
870
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
872
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
883
log_assert(reuse->lru_next == NULL);
sbin/unwind/libunbound/services/outside_network.c
891
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
921
log_assert(0);
sbin/unwind/libunbound/services/outside_network.c
930
log_assert(w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
945
log_assert(!w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
969
log_assert(!w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
973
log_assert(w->next_waiting != w);
sbin/unwind/libunbound/services/outside_network.c
985
log_assert(
sbin/unwind/libunbound/services/rpz.c
1108
log_assert(dnamelen >= aznamelen);
sbin/unwind/libunbound/services/rpz.c
205
log_assert(rr_type == LDNS_RR_TYPE_CNAME);
sbin/unwind/libunbound/services/rpz.c
2770
log_assert(r);
sbin/unwind/libunbound/util/alloc.c
217
log_assert(alloc);
sbin/unwind/libunbound/util/alloc.c
258
log_assert(p);
sbin/unwind/libunbound/util/alloc.c
259
log_assert(alloc && alloc->super &&
sbin/unwind/libunbound/util/alloc.c
281
log_assert(alloc);
sbin/unwind/libunbound/util/alloc.c
350
log_assert(r->next == NULL);
sbin/unwind/libunbound/util/alloc.c
379
log_assert(size <= SIZE_MAX-16);
sbin/unwind/libunbound/util/alloc.c
402
log_assert(s <= SIZE_MAX-16);
sbin/unwind/libunbound/util/alloc.c
452
log_assert(size <= SIZE_MAX-16);
sbin/unwind/libunbound/util/alloc.c
558
log_assert(size <= SIZE_MAX-(lite_pad*2+sizeof(size_t)));
sbin/unwind/libunbound/util/alloc.c
576
log_assert(req <= SIZE_MAX-(lite_pad*2+sizeof(size_t)));
sbin/unwind/libunbound/util/config_file.c
1495
log_assert((pow_2_threads & (pow_2_threads - 1)) == 0); /* powerof2? */
sbin/unwind/libunbound/util/config_file.c
2023
log_assert(at == num);
sbin/unwind/libunbound/util/config_file.c
2393
log_assert((size_t)pos < len);
sbin/unwind/libunbound/util/data/dname.c
103
log_assert(d1 && d2);
sbin/unwind/libunbound/util/data/dname.c
114
log_assert(lab1 == lab2 && lab1 != 0);
sbin/unwind/libunbound/util/data/dname.c
237
log_assert(pkt && d1 && d2);
sbin/unwind/libunbound/util/data/dname.c
263
log_assert(len1 <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/util/data/dname.c
264
log_assert(len2 <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/util/data/dname.c
269
log_assert(len1 == len2 && len1 != 0);
sbin/unwind/libunbound/util/data/dname.c
296
log_assert(lablen <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/util/data/dname.c
332
log_assert(lablen <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/util/data/dname.c
372
log_assert(lablen <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/util/data/dname.c
499
log_assert(atlabel == labs2);
sbin/unwind/libunbound/util/data/dname.c
507
log_assert(atlabel == labs1);
sbin/unwind/libunbound/util/data/dname.c
518
log_assert(len1 != 0 && len2 != 0);
sbin/unwind/libunbound/util/data/dname.c
723
log_assert(dname);
sbin/unwind/libunbound/util/data/dname.c
725
log_assert(!LABEL_IS_PTR(len));
sbin/unwind/libunbound/util/data/dname.c
733
log_assert(dname && *dname && len);
sbin/unwind/libunbound/util/data/dname.c
735
log_assert(!LABEL_IS_PTR(lablen));
sbin/unwind/libunbound/util/data/dname.c
736
log_assert(*len > lablen);
sbin/unwind/libunbound/util/data/dname.c
747
log_assert(dname && *dname && len);
sbin/unwind/libunbound/util/data/dname.c
749
log_assert(!LABEL_IS_PTR(lablen));
sbin/unwind/libunbound/util/data/dname.c
750
log_assert(*len > lablen);
sbin/unwind/libunbound/util/data/dname.c
837
log_assert(atlabel == labs2);
sbin/unwind/libunbound/util/data/dname.c
845
log_assert(atlabel == labs1);
sbin/unwind/libunbound/util/data/msgencode.c
1050
log_assert((flags & BIT_QR)); /* QR bit must be on in our replies */
sbin/unwind/libunbound/util/data/msgencode.c
1100
log_assert(sldns_buffer_remaining(pkt) >= 12+255+4/*max query*/);
sbin/unwind/libunbound/util/data/msgencode.c
219
log_assert(uplabs >= 0);
sbin/unwind/libunbound/util/data/msgencode.c
999
log_assert(pad_pos + 4 <= msg_sz);
sbin/unwind/libunbound/util/data/msgparse.c
1203
log_assert(found->rr_first && found->rr_last);
sbin/unwind/libunbound/util/data/msgparse.c
1288
log_assert(LDNS_QDCOUNT(sldns_buffer_begin(pkt)) == 1);
sbin/unwind/libunbound/util/data/msgparse.c
1383
log_assert(ttl_add <= ttl);
sbin/unwind/libunbound/util/data/msgparse.c
312
default: log_assert(0);
sbin/unwind/libunbound/util/data/msgparse.c
324
default: log_assert(0);
sbin/unwind/libunbound/util/data/msgparse.c
336
log_assert( rrset->type == LDNS_RR_TYPE_RRSIG );
sbin/unwind/libunbound/util/data/msgparse.c
404
log_assert( sigset->type == LDNS_RR_TYPE_RRSIG );
sbin/unwind/libunbound/util/data/msgparse.c
405
log_assert( datatype != LDNS_RR_TYPE_RRSIG );
sbin/unwind/libunbound/util/data/msgparse.c
417
default: log_assert(0);
sbin/unwind/libunbound/util/data/msgparse.c
592
log_assert(msg->qdcount == 1);
sbin/unwind/libunbound/util/data/msgparse.c
632
log_assert(0); /* add type above */
sbin/unwind/libunbound/util/data/msgreply.c
1420
log_assert(p && q);
sbin/unwind/libunbound/util/data/msgreply.c
181
log_assert(TTL_IS_EXPIRED(rep->ttl, timenow));
sbin/unwind/libunbound/util/data/msgreply.c
194
log_assert(TTL_IS_EXPIRED(rep->ttl, timenow));
sbin/unwind/libunbound/util/data/msgreply.c
329
log_assert(len <= pkt_len);
sbin/unwind/libunbound/util/data/msgreply.c
507
log_assert(rep);
sbin/unwind/libunbound/util/data/msgreply.c
526
log_assert(rep->serve_expired_norec_ttl == 0);
sbin/unwind/libunbound/util/data/msgreply.c
535
log_assert(pkt && msg);
sbin/unwind/libunbound/util/data/msgreply.c
611
log_assert(rep->serve_expired_norec_ttl == 0);
sbin/unwind/libunbound/util/data/msgreply.c
634
log_assert(rep->serve_expired_norec_ttl == 0);
sbin/unwind/libunbound/util/data/msgreply.c
692
log_assert( (x) == (y) );
sbin/unwind/libunbound/util/data/msgreply.c
704
log_assert(msg1->qname_len == msg2->qname_len);
sbin/unwind/libunbound/util/data/packed_rrset.c
282
log_assert(dest_len > 0 && dest);
sbin/unwind/libunbound/util/data/packed_rrset.c
366
log_assert(d->ttl_add <= now ||
sbin/unwind/libunbound/util/data/packed_rrset.c
87
log_assert(d->count > 0);
sbin/unwind/libunbound/util/edns.c
107
log_assert(c->str && c->str2);
sbin/unwind/libunbound/util/edns.c
250
log_assert(cookie_secret_file != NULL);
sbin/unwind/libunbound/util/edns.c
269
log_assert( secret_len <= sizeof(secret) );
sbin/unwind/libunbound/util/edns.c
337
log_assert(secret_len == UNBOUND_COOKIE_SECRET_SIZE);
sbin/unwind/libunbound/util/net_help.c
399
log_assert(i < 4 && i >= 0);
sbin/unwind/libunbound/util/net_help.c
403
log_assert(i < 16 && i >= 1);
sbin/unwind/libunbound/util/net_help.c
679
log_assert(len1 == len2);
sbin/unwind/libunbound/util/net_help.c
684
log_assert( p1_in->sin_family == p2_in->sin_family );
sbin/unwind/libunbound/util/net_help.c
692
log_assert(p1_in->sin_port == p2_in->sin_port);
sbin/unwind/libunbound/util/net_help.c
700
log_assert(p1_in6->sin6_port == p2_in6->sin6_port);
sbin/unwind/libunbound/util/net_help.c
721
log_assert(len1 == len2);
sbin/unwind/libunbound/util/net_help.c
726
log_assert( p1_in->sin_family == p2_in->sin_family );
sbin/unwind/libunbound/util/net_help.c
751
log_assert(len1 == len2);
sbin/unwind/libunbound/util/net_help.c
756
log_assert( p1_in->sin_family == p2_in->sin_family );
sbin/unwind/libunbound/util/net_help.c
764
log_assert(p1_in->sin_port == p2_in->sin_port);
sbin/unwind/libunbound/util/net_help.c
776
log_assert(p1_in6->sin6_port == p2_in6->sin6_port);
sbin/unwind/libunbound/util/net_help.c
838
log_assert(z);
sbin/unwind/libunbound/util/net_help.c
883
log_assert(addr->ss_family == AF_INET);
sbin/unwind/libunbound/util/net_help.c
886
log_assert(prefixnet_is_nat64(nat64_prefixnet));
sbin/unwind/libunbound/util/net_help.c
967
log_assert(list);
sbin/unwind/libunbound/util/netevent.c
1014
log_assert(rep.c->type == comm_udp);
sbin/unwind/libunbound/util/netevent.c
1018
log_assert(rep.c && rep.c->buffer && rep.c->fd == fd);
sbin/unwind/libunbound/util/netevent.c
1024
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
1025
log_assert(sldns_buffer_remaining(rep.c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
1138
log_assert(rep.c->type == comm_udp);
sbin/unwind/libunbound/util/netevent.c
1142
log_assert(rep.c && rep.c->buffer && rep.c->fd == fd);
sbin/unwind/libunbound/util/netevent.c
1147
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
1148
log_assert(sldns_buffer_remaining(rep.c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
1246
log_assert(localaddrlen >= sizeof(struct sockaddr_in));
sbin/unwind/libunbound/util/netevent.c
1249
log_assert(msg->msg_controllen <= control_size);
sbin/unwind/libunbound/util/netevent.c
1265
log_assert(localaddrlen >= sizeof(struct sockaddr_in));
sbin/unwind/libunbound/util/netevent.c
1268
log_assert(msg->msg_controllen <= control_size);
sbin/unwind/libunbound/util/netevent.c
1278
log_assert(localaddrlen >= sizeof(struct sockaddr_in6));
sbin/unwind/libunbound/util/netevent.c
1281
log_assert(msg->msg_controllen <= control_size);
sbin/unwind/libunbound/util/netevent.c
1304
log_assert(addrlen >= sizeof(*sa));
sbin/unwind/libunbound/util/netevent.c
1314
log_assert(addrlen >= sizeof(*sa6));
sbin/unwind/libunbound/util/netevent.c
1675
log_assert(conid->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
1962
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
2230
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
2289
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
2522
log_assert(c->type == comm_doq);
sbin/unwind/libunbound/util/netevent.c
2524
log_assert(c && c->doq_socket->pkt_buf && c->fd == fd);
sbin/unwind/libunbound/util/netevent.c
2613
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
2614
log_assert(sldns_buffer_remaining(c->doq_socket->pkt_buf) > 0);
sbin/unwind/libunbound/util/netevent.c
2718
log_assert(table != NULL);
sbin/unwind/libunbound/util/netevent.c
2800
log_assert(table != NULL);
sbin/unwind/libunbound/util/netevent.c
2821
log_assert(c->doq_socket);
sbin/unwind/libunbound/util/netevent.c
2865
log_assert(repinfo->c->type == comm_doq);
sbin/unwind/libunbound/util/netevent.c
2896
log_assert(repinfo->c->type == comm_doq);
sbin/unwind/libunbound/util/netevent.c
2925
log_assert(c->type == comm_tcp || c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
2926
log_assert(c->fd == -1);
sbin/unwind/libunbound/util/netevent.c
3131
log_assert(h2_session->callbacks);
sbin/unwind/libunbound/util/netevent.c
3202
log_assert(c->type == comm_tcp_accept);
sbin/unwind/libunbound/util/netevent.c
3217
log_assert(c_hdl->is_in_tcp_free);
sbin/unwind/libunbound/util/netevent.c
3262
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
3294
log_assert(c_hdl == c->tcp_free);
sbin/unwind/libunbound/util/netevent.c
3295
log_assert(c_hdl->is_in_tcp_free);
sbin/unwind/libunbound/util/netevent.c
3312
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
3323
log_assert(c->tcp_free == NULL);
sbin/unwind/libunbound/util/netevent.c
3324
log_assert(c->tcp_parent->cur_tcp_count > 0);
sbin/unwind/libunbound/util/netevent.c
3345
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
3375
log_assert(c->type == comm_tcp || c->type == comm_local);
sbin/unwind/libunbound/util/netevent.c
3929
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
3930
log_assert(!c->tcp_write_and_read || c->tcp_write_byte_count < c->tcp_write_pkt_len + 2);
sbin/unwind/libunbound/util/netevent.c
400
log_assert(c->fd != -1);
sbin/unwind/libunbound/util/netevent.c
4010
log_assert(c->type == comm_tcp || c->type == comm_local);
sbin/unwind/libunbound/util/netevent.c
4016
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
405
log_assert(addr && addrlen > 0);
sbin/unwind/libunbound/util/netevent.c
4256
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
4264
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
4333
log_assert(iov[0].iov_len > 0);
sbin/unwind/libunbound/util/netevent.c
4426
log_assert(iov[0].iov_len > 0);
sbin/unwind/libunbound/util/netevent.c
4493
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
4494
log_assert(!c->tcp_write_and_read || c->tcp_write_byte_count < c->tcp_write_pkt_len + 2);
sbin/unwind/libunbound/util/netevent.c
4615
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
4705
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
4716
log_assert(c->tcp_free == NULL);
sbin/unwind/libunbound/util/netevent.c
4717
log_assert(c->tcp_parent->cur_tcp_count > 0);
sbin/unwind/libunbound/util/netevent.c
4735
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
4777
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
5171
log_assert(h2_session->c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5172
log_assert(h2_session->c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5256
log_assert(c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5293
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5294
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
5439
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
5479
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
5508
log_assert(h2_session->c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5509
log_assert(h2_session->c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5590
log_assert(c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5621
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5622
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
5683
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5726
log_assert(c->type == comm_local);
sbin/unwind/libunbound/util/netevent.c
5745
log_assert(c->type == comm_raw);
sbin/unwind/libunbound/util/netevent.c
5895
log_assert(table != NULL);
sbin/unwind/libunbound/util/netevent.c
640
log_assert(c->fd != -1);
sbin/unwind/libunbound/util/netevent.c
645
log_assert(addr && addrlen > 0);
sbin/unwind/libunbound/util/netevent.c
665
log_assert(msg.msg_controllen <= sizeof(control.buf));
sbin/unwind/libunbound/util/netevent.c
6677
log_assert(repinfo && repinfo->c);
sbin/unwind/libunbound/util/netevent.c
6767
log_assert(repinfo->c);
sbin/unwind/libunbound/util/netevent.c
6768
log_assert(repinfo->c->type != comm_tcp_accept);
sbin/unwind/libunbound/util/netevent.c
681
log_assert(msg.msg_controllen <= sizeof(control.buf));
sbin/unwind/libunbound/util/netevent.c
6947
log_assert(tv);
sbin/unwind/libunbound/util/netevent.c
699
log_assert(msg.msg_controllen <= sizeof(control.buf));
sbin/unwind/libunbound/util/netevent.c
7031
log_assert(comsig);
sbin/unwind/libunbound/util/netevent.c
716
log_assert(msg.msg_controllen <= sizeof(control.buf));
sbin/unwind/libunbound/util/rbtree.c
310
log_assert(rbtree->root == old);
sbin/unwind/libunbound/util/rbtree.c
314
log_assert(parent->left == old || parent->right == old
sbin/unwind/libunbound/util/rbtree.c
324
log_assert(child->parent == old || child->parent == new);
sbin/unwind/libunbound/util/rbtree.c
378
log_assert(to_delete->left == RBTREE_NULL || to_delete->right == RBTREE_NULL);
sbin/unwind/libunbound/util/rbtree.c
464
log_assert(sibling != RBTREE_NULL);
sbin/unwind/libunbound/util/rbtree.c
498
log_assert(sibling->left->color == RED);
sbin/unwind/libunbound/util/rbtree.c
504
log_assert(sibling->right->color == RED);
sbin/unwind/libunbound/util/rbtree.c
517
log_assert(result);
sbin/unwind/libunbound/util/regional.c
243
log_assert(ALIGNMENT >= sizeof(char*));
sbin/unwind/libunbound/util/regional.c
244
log_assert(REGIONAL_CHUNK_SIZE > ALIGNMENT);
sbin/unwind/libunbound/util/regional.c
245
log_assert(REGIONAL_CHUNK_SIZE-ALIGNMENT > r->large_object_size);
sbin/unwind/libunbound/util/regional.c
246
log_assert(REGIONAL_CHUNK_SIZE >= sizeof(struct regional));
sbin/unwind/libunbound/util/regional.c
95
log_assert(sizeof(struct regional) <= size);
sbin/unwind/libunbound/util/storage/lruhash.c
187
log_assert(table);
sbin/unwind/libunbound/util/storage/lruhash.c
199
log_assert(d && d->lru_prev);
sbin/unwind/libunbound/util/storage/lruhash.c
295
log_assert(table && entry);
sbin/unwind/libunbound/util/storage/lruhash.c
627
log_assert(table && entry);
sbin/unwind/libunbound/util/storage/slabhash.c
58
log_assert(sl->size > 0);
sbin/unwind/libunbound/util/storage/slabhash.c
68
log_assert( (sl->size & sl->mask) == 0
sbin/unwind/libunbound/util/tcp_conn_limit.c
136
log_assert(p->str && p->str2);
sbin/unwind/libunbound/util/tcp_conn_limit.c
175
log_assert(tcl->count > 0);
sbin/unwind/libunbound/util/tube.c
523
log_assert(0);
sbin/unwind/libunbound/util/tube.c
722
log_assert(0);
sbin/unwind/libunbound/util/tube.c
730
log_assert(0);
sbin/unwind/libunbound/util/winsock_event.c
206
log_assert(ev->is_signal && ev->hEvent);
sbin/unwind/libunbound/util/winsock_event.c
264
log_assert(numwait <= WSA_MAXIMUM_WAIT_EVENTS);
sbin/unwind/libunbound/util/winsock_event.c
501
log_assert(ev->ev_fd==-1 || find_fd(ev->ev_base, ev->ev_fd) == -1);
sbin/unwind/libunbound/util/winsock_event.c
583
log_assert(ev->added);
sbin/unwind/libunbound/util/winsock_event.c
587
log_assert(ev->ev_base->max > 0);
sbin/unwind/libunbound/util/winsock_event.c
681
log_assert(ev->added && ev->ev_base->max > 0)
sbin/unwind/libunbound/validator/autotrust.c
1200
log_assert(tp->autr);
sbin/unwind/libunbound/validator/autotrust.c
1545
log_assert(ntohs(dnskey_rrset->rk.type) == LDNS_RR_TYPE_DNSKEY);
sbin/unwind/libunbound/validator/autotrust.c
1564
log_assert(dnskey_calc_keytag(dnskey_rrset, i)-128 ==
sbin/unwind/libunbound/validator/autotrust.c
1637
log_assert(ntohs(dnskey_rrset->rk.type) == LDNS_RR_TYPE_DNSKEY);
sbin/unwind/libunbound/validator/autotrust.c
1812
log_assert(anchor);
sbin/unwind/libunbound/validator/autotrust.c
2099
log_assert(tp == tp2);
sbin/unwind/libunbound/validator/autotrust.c
2178
log_assert(tp && tp->autr);
sbin/unwind/libunbound/validator/autotrust.c
724
log_assert(data->rr_data[i]);
sbin/unwind/libunbound/validator/autotrust.c
96
log_assert(a->autr && b->autr);
sbin/unwind/libunbound/validator/val_anchor.c
254
log_assert(r != NULL);
sbin/unwind/libunbound/validator/val_neg.c
1429
log_assert(!topname || dname_subdomain_c(qinfo->qname, topname));
sbin/unwind/libunbound/validator/val_neg.c
208
log_assert(z->in_use);
sbin/unwind/libunbound/validator/val_neg.c
209
log_assert(z->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
215
log_assert(p->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
239
log_assert(el->in_use);
sbin/unwind/libunbound/validator/val_neg.c
240
log_assert(el->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
245
log_assert(neg->first != el && neg->last != el);
sbin/unwind/libunbound/validator/val_neg.c
250
log_assert(p->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
342
log_assert(len > 1); /* not root label */
sbin/unwind/libunbound/validator/val_neg.c
361
log_assert(len > 1); /* not root label */
sbin/unwind/libunbound/validator/val_neg.c
550
log_assert(!parent || parent->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
777
log_assert(parent->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
784
log_assert(!parent || parent->count > 0);
sbin/unwind/libunbound/validator/val_nsec.c
152
log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
sbin/unwind/libunbound/validator/val_nsec.c
153
log_assert(ntohs(nsec->rk.type) == LDNS_RR_TYPE_NSEC);
sbin/unwind/libunbound/validator/val_nsec.c
301
log_assert(wc);
sbin/unwind/libunbound/validator/val_nsec3.c
1204
log_assert(ce.ce);
sbin/unwind/libunbound/validator/val_nsec3.c
134
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
1355
log_assert(ce.ce);
sbin/unwind/libunbound/validator/val_nsec3.c
1412
log_assert(ce.nc_rrset);
sbin/unwind/libunbound/validator/val_nsec3.c
145
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
1552
log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
sbin/unwind/libunbound/validator/val_nsec3.c
157
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
1636
log_assert(ce.nc_rrset);
sbin/unwind/libunbound/validator/val_nsec3.c
169
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
186
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
201
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
236
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
297
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
525
log_assert(ve->nsec3_keyiter_count > 0);
sbin/unwind/libunbound/validator/val_nsec3.c
753
log_assert(n); /* cannot be duplicate, just did lookup */
sbin/unwind/libunbound/validator/val_sigcrypt.c
1017
log_assert(r1->rrset == r2->rrset);
sbin/unwind/libunbound/validator/val_sigcrypt.c
1069
log_assert(rrsig_labels < fqdn_labels);
sbin/unwind/libunbound/validator/val_sigcrypt.c
117
log_assert(sig_idx < d->rrsig_count);
sbin/unwind/libunbound/validator/val_sigcrypt.c
134
log_assert(sig_idx < d->rrsig_count);
sbin/unwind/libunbound/validator/val_sigcrypt.c
146
log_assert(d && idx < (d->count + d->rrsig_count));
sbin/unwind/libunbound/validator/val_sigcrypt.c
465
log_assert(dnskey_algo_id_is_supported((int)algo));
sbin/unwind/libunbound/validator/val_sigcrypt.c
466
log_assert(n->needs[algo] == 0);
sbin/unwind/libunbound/validator/val_sigcrypt.c
487
log_assert(algo != 0); /* we do not support 0 and is EOS */
sbin/unwind/libunbound/validator/val_sigcrypt.c
984
log_assert(desc);
sbin/unwind/libunbound/validator/val_sigcrypt.c
986
log_assert(desc->_minimum == desc->_maximum);
sbin/unwind/libunbound/validator/val_utils.c
1091
log_assert(index < rep->rrset_count);
sbin/unwind/libunbound/validator/val_utils.c
1092
log_assert(index >= rep->an_numrrsets);
sbin/unwind/libunbound/validator/val_utils.c
1093
log_assert(index < rep->an_numrrsets+rep->ns_numrrsets);
sbin/unwind/libunbound/validator/validator.c
2087
log_assert(vq->key_entry && !key_entry_isbad(vq->key_entry));
sbin/unwind/libunbound/validator/validator.c
2145
log_assert(strip_lab >= -1);
sbin/unwind/libunbound/validator/validator.c
336
log_assert(!qstate->minfo[id]);
usr.sbin/unbound/cachedb/cachedb.c
370
log_assert(len >= sizeof(hash)*2 + 1);
usr.sbin/unbound/cachedb/cachedb.c
555
log_assert(timestamp <= expiry);
usr.sbin/unbound/cachedb/cachedb.c
866
log_assert(qstate->return_msg->rep->ttl > 0);
usr.sbin/unbound/cachedb/redis.c
445
log_assert(env->alloc->thread_num < d->numctxs);
usr.sbin/unbound/daemon/acl_list.c
422
log_assert(p->str && p->str2);
usr.sbin/unbound/daemon/acl_list.c
437
log_assert(p->str && p->str2);
usr.sbin/unbound/daemon/acl_list.c
459
log_assert(p->str && p->str2);
usr.sbin/unbound/daemon/acl_list.c
483
log_assert(p->str && p->str2 && p->str3);
usr.sbin/unbound/daemon/acl_list.c
509
log_assert(p->str && p->str2 && p->str3);
usr.sbin/unbound/daemon/acl_list.c
577
log_assert(p->str && p->str2);
usr.sbin/unbound/daemon/acl_list.c
603
log_assert(p->str && p->str2);
usr.sbin/unbound/daemon/acl_list.c
638
log_assert(p->str && p->str2);
usr.sbin/unbound/daemon/acl_list.c
675
log_assert(p->str && p->str2 && p->str3);
usr.sbin/unbound/daemon/acl_list.c
713
log_assert(p->str && p->str2 && p->str3);
usr.sbin/unbound/daemon/daemon.c
1005
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
1163
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
391
log_assert(daemon->ssl_service_key && cfg->ssl_service_key);
usr.sbin/unbound/daemon/daemon.c
607
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
805
log_assert(daemon && daemon->cfg);
usr.sbin/unbound/daemon/daemon.c
904
log_assert(worker);
usr.sbin/unbound/daemon/daemon.c
924
log_assert(worker->thr_id);
usr.sbin/unbound/daemon/daemon.c
960
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
981
log_assert(daemon);
usr.sbin/unbound/daemon/remote.c
1250
log_assert(daemon->num > 0);
usr.sbin/unbound/daemon/remote.c
2644
log_assert(query_dname_compare(dp->name, root)==0);
usr.sbin/unbound/daemon/remote.c
285
log_assert(ip);
usr.sbin/unbound/daemon/remote.c
3714
log_assert( secret_file != NULL );
usr.sbin/unbound/daemon/remote.c
3735
log_assert( len == UNBOUND_COOKIE_SECRET_SIZE * 2 );
usr.sbin/unbound/daemon/remote.c
385
log_assert(cfg->remote_control_enable && cfg->control_port);
usr.sbin/unbound/daemon/remote.c
3891
log_assert( len == UNBOUND_COOKIE_SECRET_SIZE * 2 );
usr.sbin/unbound/daemon/remote.c
4381
log_assert(pollin || pollout);
usr.sbin/unbound/daemon/remote.c
6559
log_assert(ct->oldcfg);
usr.sbin/unbound/daemon/remote.c
6560
log_assert(ct->fwds);
usr.sbin/unbound/daemon/remote.c
6561
log_assert(ct->hints);
usr.sbin/unbound/daemon/remote.c
7351
log_assert(fr->commpair[0] >= 0);
usr.sbin/unbound/daemon/remote.c
7603
log_assert(namez->namelen <= sizeof(nm));
usr.sbin/unbound/daemon/remote.c
7695
log_assert(loadxfr->namelen == xfr->namelen);
usr.sbin/unbound/daemon/remote.c
7696
log_assert(loadxfr->namelabs == xfr->namelabs);
usr.sbin/unbound/daemon/remote.c
7697
log_assert(loadxfr->dclass == xfr->dclass);
usr.sbin/unbound/daemon/remote.c
7903
log_assert(d_dtenv != NULL || !worker->daemon->cfg->dnstap);
usr.sbin/unbound/daemon/remote.c
8069
log_assert(fr->commpair[0] >= 0);
usr.sbin/unbound/daemon/remote.c
8530
log_assert(s);
usr.sbin/unbound/daemon/unbound.c
167
log_assert(0);
usr.sbin/unbound/daemon/worker.c
1280
log_assert(sldns_buffer_limit(c->buffer) >= LDNS_HEADER_SIZE
usr.sbin/unbound/daemon/worker.c
2323
log_assert(worker->daemon->dtenv != NULL);
usr.sbin/unbound/daemon/worker.c
2600
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2608
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2616
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2623
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2630
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2637
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2642
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2647
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2653
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2659
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2667
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2675
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2683
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2691
log_assert(0);
usr.sbin/unbound/dns64/dns64.c
1006
log_assert(qstate->qinfo.qtype == LDNS_RR_TYPE_PTR);
usr.sbin/unbound/dns64/dns64.c
203
log_assert(ipv6_len == 16); (void)ipv6_len;
usr.sbin/unbound/dns64/dns64.c
204
log_assert(offset == 32 || offset == 40 || offset == 48 || offset == 56 ||
usr.sbin/unbound/dns64/dns64.c
233
log_assert(nm_len == MAX_PTR_QNAME_IPV4); (void)nm_len;
usr.sbin/unbound/dns64/dns64.c
238
log_assert(c < ptr+nm_len);
usr.sbin/unbound/dns64/dns64.c
242
log_assert(c + sizeof(IPV4_PTR_SUFFIX) <= ptr+nm_len);
usr.sbin/unbound/dns64/dns64.c
262
log_assert(ipv6_len == 16); (void)ipv6_len;
usr.sbin/unbound/dns64/dns64.c
304
log_assert(prefix_addr_len == 16 && a_len == 4 && aaaa_len == 16);
usr.sbin/unbound/dns64/dns64.c
305
log_assert(prefix_net == 32 || prefix_net == 40 || prefix_net == 48 ||
usr.sbin/unbound/dns64/dns64.c
831
log_assert(super->region);
usr.sbin/unbound/dns64/dns64.c
832
log_assert(qstate->return_msg);
usr.sbin/unbound/dns64/dns64.c
833
log_assert(qstate->return_msg->rep);
usr.sbin/unbound/dnstap/dnstap.c
342
log_assert(b != NULL);
usr.sbin/unbound/dnstap/dnstap.c
359
log_assert(qs->ss_family == AF_INET6 || qs->ss_family == AF_INET);
usr.sbin/unbound/dnstap/dnstap.c
597
(void)qbuf_len; log_assert(qbuf_len >= sizeof(qflags));
usr.sbin/unbound/dnstap/dtstream.c
1920
log_assert(dtio->cur_msg == NULL && dtio->cur_msg_len == 0);
usr.sbin/unbound/dnstap/dtstream.c
1939
log_assert(dtio->cur_msg == NULL && dtio->cur_msg_len == 0);
usr.sbin/unbound/dnstap/dtstream.c
853
log_assert(iov[0].iov_len > 0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1352
log_assert(socket);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1353
log_assert(unit_tap_datas_max>2); /* needed for the test */
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1356
log_assert(datas[i]);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1357
log_assert(tap_data_list_insert(&socket->data_list, datas[i]));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1362
log_assert(i==unit_tap_datas_max);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1372
log_assert(i==unit_tap_datas_max);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1382
log_assert(i==unit_tap_datas_max);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1395
log_assert(i==unit_tap_datas_max-2);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1408
log_assert(i==1);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1416
log_assert(socket);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1419
log_assert(datas[i]);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1420
log_assert(tap_data_list_insert(&socket->data_list, datas[i]));
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1425
log_assert(i==2);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1435
log_assert(i==2);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1614
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1621
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1629
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1637
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1645
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1651
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1664
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1672
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1678
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1685
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1698
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1706
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1714
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1721
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1728
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1735
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1740
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1745
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1751
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1756
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1761
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1766
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1796
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1802
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1808
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1815
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
182
log_assert(!list->d);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1823
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1831
log_assert(0);
usr.sbin/unbound/edns-subnet/addrtree.c
126
log_assert(delfunc != NULL);
usr.sbin/unbound/edns-subnet/addrtree.c
127
log_assert(sizefunc != NULL);
usr.sbin/unbound/edns-subnet/addrtree.c
292
log_assert(sizeof *tree == addrtree_size(tree));
usr.sbin/unbound/edns-subnet/addrtree.c
306
log_assert(addrlen > n);
usr.sbin/unbound/edns-subnet/addrtree.c
337
log_assert(skip < len);
usr.sbin/unbound/edns-subnet/addrtree.c
371
log_assert(node != NULL);
usr.sbin/unbound/edns-subnet/addrtree.c
380
log_assert(depth <= sourcemask);
usr.sbin/unbound/edns-subnet/addrtree.c
485
log_assert(node != NULL);
usr.sbin/unbound/edns-subnet/addrtree.c
488
log_assert(depth <= sourcemask);
usr.sbin/unbound/edns-subnet/addrtree.c
493
log_assert(node->scope >= depth);
usr.sbin/unbound/edns-subnet/addrtree.c
515
log_assert(depth < edge->len);
usr.sbin/unbound/edns-subnet/addrtree.c
76
log_assert(parent_node->edge[parent_index] == NULL);
usr.sbin/unbound/edns-subnet/subnet-whitelist.c
122
log_assert(p->str);
usr.sbin/unbound/edns-subnet/subnet-whitelist.c
141
log_assert(p->str);
usr.sbin/unbound/edns-subnet/subnetmod.c
117
log_assert(ecs->subnet_addr_fam == EDNSSUBNET_ADDRFAM_IP4 ||
usr.sbin/unbound/edns-subnet/subnetmod.c
119
log_assert(ecs->subnet_addr_fam != EDNSSUBNET_ADDRFAM_IP4 ||
usr.sbin/unbound/edns-subnet/subnetmod.c
121
log_assert(ecs->subnet_addr_fam != EDNSSUBNET_ADDRFAM_IP6 ||
usr.sbin/unbound/edns-subnet/subnetmod.c
128
log_assert(sn_octs + sn_octs_remainder <= INET6_SIZE);
usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.c
91
log_assert(p->str);
usr.sbin/unbound/iterator/iter_delegpt.c
112
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
179
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
195
log_assert(ns->port>0);
usr.sbin/unbound/iterator/iter_delegpt.c
206
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
208
log_assert(port>0);
usr.sbin/unbound/iterator/iter_delegpt.c
468
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
492
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
515
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
614
log_assert(dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
636
log_assert(dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
648
log_assert(dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
690
log_assert(dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
692
log_assert(port>0);
usr.sbin/unbound/iterator/iter_delegpt.c
735
log_assert(dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_delegpt.c
751
log_assert(ns->port>0);
usr.sbin/unbound/iterator/iter_delegpt.c
99
log_assert(!dp->dp_type_mlc);
usr.sbin/unbound/iterator/iter_donotq.c
115
log_assert(p->str);
usr.sbin/unbound/iterator/iter_fwd.c
224
log_assert(p->str);
usr.sbin/unbound/iterator/iter_fwd.c
260
log_assert(p->str);
usr.sbin/unbound/iterator/iter_hints.c
227
log_assert(p->str);
usr.sbin/unbound/iterator/iter_hints.c
263
log_assert(p->str);
usr.sbin/unbound/iterator/iter_hints.c
432
log_assert(p->str);
usr.sbin/unbound/iterator/iter_priv.c
119
log_assert(p->str);
usr.sbin/unbound/iterator/iter_priv.c
200
log_assert(name_len == len);
usr.sbin/unbound/iterator/iter_priv.c
88
log_assert(p->str);
usr.sbin/unbound/iterator/iter_scrub.c
238
log_assert(qnamelen > dname_rrset->dname_len);
usr.sbin/unbound/iterator/iter_scrub.c
83
default: log_assert(0);
usr.sbin/unbound/iterator/iter_scrub.c
880
log_assert(rrset->type == LDNS_RR_TYPE_NSEC);
usr.sbin/unbound/iterator/iter_utils.c
1027
log_assert(type==RESPONSE_TYPE_ANSWER || type==RESPONSE_TYPE_CNAME);
usr.sbin/unbound/iterator/iter_utils.c
1128
log_assert(p->an_numrrsets + p->ns_numrrsets + p->ar_numrrsets <=
usr.sbin/unbound/iterator/iter_utils.c
1141
log_assert(q->an_numrrsets + q->ns_numrrsets + q->ar_numrrsets <=
usr.sbin/unbound/iterator/iter_utils.c
1551
log_assert((retdpname && retdpnamelen
usr.sbin/unbound/iterator/iter_utils.c
466
log_assert(n > 0);
usr.sbin/unbound/iterator/iter_utils.c
719
log_assert(num > 1);
usr.sbin/unbound/iterator/iterator.c
1188
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
1239
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
1305
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
2032
log_assert(maxtargets != 0); /* that would not be useful */
usr.sbin/unbound/iterator/iterator.c
2068
log_assert(toget <= missing);
usr.sbin/unbound/iterator/iterator.c
2169
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
3734
log_assert(qstate->is_priming || foriq->wait_priming_stub);
usr.sbin/unbound/iterator/iterator.c
3735
log_assert(qstate->return_rcode == LDNS_RCODE_NOERROR);
usr.sbin/unbound/iterator/iterator.c
3844
log_assert(qstate->return_rcode == LDNS_RCODE_NOERROR);
usr.sbin/unbound/libunbound/context.c
271
log_assert( sldns_read_uint32(p) == UB_LIBCMD_NEWQUERY);
usr.sbin/unbound/libunbound/context.c
303
log_assert( sldns_read_uint32(p) == UB_LIBCMD_NEWQUERY);
usr.sbin/unbound/libunbound/context.c
309
log_assert(q->async);
usr.sbin/unbound/libunbound/context.c
358
log_assert( sldns_read_uint32(p) == UB_LIBCMD_ANSWER);
usr.sbin/unbound/libunbound/context.c
412
log_assert( sldns_read_uint32(p) == UB_LIBCMD_CANCEL);
usr.sbin/unbound/libunbound/libunbound.c
1029
log_assert(ctx->env->cfg->forwards);
usr.sbin/unbound/libunbound/libunbound.c
1030
log_assert(ctx->env->cfg->forwards->name);
usr.sbin/unbound/libunbound/libunbound.c
605
log_assert(q->async);
usr.sbin/unbound/libunbound/libunbound.c
909
log_assert(q->async);
usr.sbin/unbound/libunbound/libworker.c
1002
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1007
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1012
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1017
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1022
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1029
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1035
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1041
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1048
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1054
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1062
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1070
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1077
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1084
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1092
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1100
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
941
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
948
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
956
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
964
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
972
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
978
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
990
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
997
log_assert(0);
usr.sbin/unbound/respip/respip.c
108
log_assert(set);
usr.sbin/unbound/respip/respip.c
1251
log_assert(super->return_msg && super->return_msg->rep);
usr.sbin/unbound/respip/respip.c
132
log_assert(set);
usr.sbin/unbound/respip/respip.c
151
log_assert(set);
usr.sbin/unbound/respip/respip.c
166
log_assert(set);
usr.sbin/unbound/respip/respip.c
190
log_assert(set);
usr.sbin/unbound/respip/respip.c
333
log_assert(set);
usr.sbin/unbound/respip/respip.c
353
log_assert(set);
usr.sbin/unbound/respip/respip.c
362
log_assert(p->str && p->str2);
usr.sbin/unbound/respip/respip.c
376
log_assert(pa->str && pa->str2);
usr.sbin/unbound/respip/respip.c
390
log_assert(pd->str && pd->str2);
usr.sbin/unbound/respip/respip.c
619
log_assert(rs);
usr.sbin/unbound/respip/respip.c
925
log_assert(ipset);
usr.sbin/unbound/services/authzone.c
1015
log_assert(packed_rrset_sizeof(sigold) > sigs*(sizeof(size_t) +
usr.sbin/unbound/services/authzone.c
227
log_assert(msg->rep->ns_numrrsets == 0);
usr.sbin/unbound/services/authzone.c
228
log_assert(msg->rep->ar_numrrsets == 0);
usr.sbin/unbound/services/authzone.c
252
log_assert(msg->rep->ar_numrrsets == 0);
usr.sbin/unbound/services/authzone.c
2610
log_assert(msg->rep->rrset_count == 0);
usr.sbin/unbound/services/authzone.c
2802
log_assert(*node); /* we already have a node when calling this */
usr.sbin/unbound/services/authzone.c
3023
log_assert(dname_strict_subdomain(qname, qlabs, cenm, celabs));
usr.sbin/unbound/services/authzone.c
3266
log_assert(ce);
usr.sbin/unbound/services/authzone.c
3295
log_assert(ce);
usr.sbin/unbound/services/authzone.c
5644
log_assert(xfr->task_transfer->worker == env->worker);
usr.sbin/unbound/services/authzone.c
5752
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6201
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6243
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6324
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6389
log_assert(xfr->task_transfer != NULL);
usr.sbin/unbound/services/authzone.c
6390
log_assert(xfr->task_transfer->worker == NULL);
usr.sbin/unbound/services/authzone.c
6391
log_assert(xfr->task_transfer->chunks_first == NULL);
usr.sbin/unbound/services/authzone.c
6392
log_assert(xfr->task_transfer->chunks_last == NULL);
usr.sbin/unbound/services/authzone.c
6538
log_assert(xfr->task_probe);
usr.sbin/unbound/services/authzone.c
6574
log_assert(xfr->task_probe);
usr.sbin/unbound/services/authzone.c
6845
log_assert(xfr->task_probe);
usr.sbin/unbound/services/authzone.c
6932
log_assert(xfr->task_nextprobe);
usr.sbin/unbound/services/authzone.c
7014
log_assert(xfr->task_nextprobe != NULL);
usr.sbin/unbound/services/authzone.c
7015
log_assert(xfr->task_nextprobe->worker == NULL ||
usr.sbin/unbound/services/authzone.c
923
log_assert(d && rrsig->type == LDNS_RR_TYPE_RRSIG);
usr.sbin/unbound/services/authzone.c
944
log_assert(rrset->type == rr_type);
usr.sbin/unbound/services/authzone.c
945
log_assert(rrsig->type == LDNS_RR_TYPE_RRSIG);
usr.sbin/unbound/services/cache/dns.c
887
log_assert(lookup[num] == 0);
usr.sbin/unbound/services/cache/rrset.c
216
log_assert(ref->id != 0 && k->id != 0);
usr.sbin/unbound/services/cache/rrset.c
217
log_assert(k->rk.dname != NULL);
usr.sbin/unbound/services/cache/rrset.c
249
log_assert(ref->key->id != 0);
usr.sbin/unbound/services/listen_dnsport.c
2263
log_assert(req->num_done_req > 0 && req->done_req_list);
usr.sbin/unbound/services/listen_dnsport.c
2384
log_assert(req && mesh && m);
usr.sbin/unbound/services/listen_dnsport.c
2770
log_assert(h2_stream->qbuffer);
usr.sbin/unbound/services/listen_dnsport.c
2956
log_assert(expectb64len > 0);
usr.sbin/unbound/services/listen_dnsport.c
3406
log_assert(table != NULL);
usr.sbin/unbound/services/listen_dnsport.c
3476
log_assert(timer->timer_in_list == 0);
usr.sbin/unbound/services/listen_dnsport.c
4997
log_assert(table != NULL);
usr.sbin/unbound/services/localzone.c
1583
log_assert(ctargetlen >= 3);
usr.sbin/unbound/services/localzone.c
1584
log_assert(qinfo->qname_len >= 1);
usr.sbin/unbound/services/localzone.c
460
log_assert(pd->count > 0);
usr.sbin/unbound/services/localzone.c
511
log_assert(0); /* duplicate name */
usr.sbin/unbound/services/localzone.c
578
log_assert(node);
usr.sbin/unbound/services/localzone.c
612
log_assert(rrset && pd);
usr.sbin/unbound/services/localzone.c
639
log_assert(z->dclass == rrclass);
usr.sbin/unbound/services/mesh.c
1109
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1117
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1153
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
1157
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
1190
log_assert(dep_m);
usr.sbin/unbound/services/mesh.c
1215
log_assert(n != NULL); /* must have been present */
usr.sbin/unbound/services/mesh.c
1219
log_assert(mesh->num_detached_states +
usr.sbin/unbound/services/mesh.c
1250
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
1260
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
1289
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
1328
log_assert(n != NULL); /* we checked above if statement, the reverse
usr.sbin/unbound/services/mesh.c
1403
log_assert(m->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1599
log_assert(m->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1800
log_assert(mstate->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1840
log_assert(mstate->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1885
log_assert(mstate->s.env->mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
1899
log_assert(mstate->s.env->mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
1977
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
usr.sbin/unbound/services/mesh.c
2055
log_assert(!qinfo->local_alias->next && dsrc->count == 1 &&
usr.sbin/unbound/services/mesh.c
2405
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
2432
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
2594
log_assert(mstate->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
2655
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
2668
log_assert(qstate->env->mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
2703
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
2707
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
537
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
582
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
669
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
704
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
761
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
790
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
848
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
877
log_assert(n != NULL);
usr.sbin/unbound/services/outside_network.c
1012
log_assert(
usr.sbin/unbound/services/outside_network.c
1085
log_assert(w->id_node.key != NULL);
usr.sbin/unbound/services/outside_network.c
1092
log_assert(rem); /* should have been there */
usr.sbin/unbound/services/outside_network.c
112
log_assert(p1->id == p2->id);
usr.sbin/unbound/services/outside_network.c
1175
log_assert(reuse->lru_prev->pending);
usr.sbin/unbound/services/outside_network.c
1177
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
usr.sbin/unbound/services/outside_network.c
1179
log_assert(!reuse->lru_next || reuse->lru_next->pending);
usr.sbin/unbound/services/outside_network.c
1181
log_assert(!outnet->tcp_reuse_first ||
usr.sbin/unbound/services/outside_network.c
1190
log_assert(reuse->lru_next->pending);
usr.sbin/unbound/services/outside_network.c
1192
log_assert(reuse->lru_next->lru_prev != reuse->lru_next);
usr.sbin/unbound/services/outside_network.c
1194
log_assert(!reuse->lru_prev || reuse->lru_prev->pending);
usr.sbin/unbound/services/outside_network.c
1196
log_assert(!outnet->tcp_reuse_last ||
usr.sbin/unbound/services/outside_network.c
1202
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
126
log_assert(q1->qbuflen == q2->qbuflen);
usr.sbin/unbound/services/outside_network.c
127
log_assert(q1->qbuflen >= 15 /* 10 header, root, type, class */);
usr.sbin/unbound/services/outside_network.c
1349
log_assert(pend->reuse.item_on_lru_list && pend->reuse.node.key);
usr.sbin/unbound/services/outside_network.c
1369
log_assert(c == pend->c);
usr.sbin/unbound/services/outside_network.c
1370
log_assert(pend->query->pkt == pend->c->tcp_write_pkt);
usr.sbin/unbound/services/outside_network.c
1371
log_assert(pend->query->pkt_len == pend->c->tcp_write_pkt_len);
usr.sbin/unbound/services/outside_network.c
1375
log_assert(pend->query->id_node.key);
usr.sbin/unbound/services/outside_network.c
1438
log_assert(!w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
1439
log_assert(!w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
1482
log_assert(pif->inuse > 0);
usr.sbin/unbound/services/outside_network.c
1510
log_assert(!pend->sq->busy);
usr.sbin/unbound/services/outside_network.c
1544
log_assert(reply_info);
usr.sbin/unbound/services/outside_network.c
2016
log_assert(x == p);
usr.sbin/unbound/services/outside_network.c
2173
log_assert(outnet->unused_fds);
usr.sbin/unbound/services/outside_network.c
2190
log_assert(portno < pif->inuse);
usr.sbin/unbound/services/outside_network.c
2261
log_assert(pend->pc);
usr.sbin/unbound/services/outside_network.c
2288
log_assert(pend->pc && pend->pc->cp);
usr.sbin/unbound/services/outside_network.c
2366
log_assert(!sq->busy);
usr.sbin/unbound/services/outside_network.c
2444
log_assert(reuse->tree_by_id.count < 0xffff);
usr.sbin/unbound/services/outside_network.c
2450
log_assert(node && node != RBTREE_NULL); /* tree not empty */
usr.sbin/unbound/services/outside_network.c
2461
log_assert(curid < nextid);
usr.sbin/unbound/services/outside_network.c
2465
log_assert(select >= count);
usr.sbin/unbound/services/outside_network.c
2480
log_assert(node && node != RBTREE_NULL); /* tree not empty */
usr.sbin/unbound/services/outside_network.c
2482
log_assert(count + (0xffff-curid) + reuse->tree_by_id.count == 0xffff);
usr.sbin/unbound/services/outside_network.c
250
log_assert(pi);
usr.sbin/unbound/services/outside_network.c
2506
log_assert(reuse->pending);
usr.sbin/unbound/services/outside_network.c
2511
log_assert(!reuse || (reuse && pend));
usr.sbin/unbound/services/outside_network.c
2519
log_assert(!reuse || (pend == reuse->pending));
usr.sbin/unbound/services/outside_network.c
2568
log_assert(reuse == &pend->reuse);
usr.sbin/unbound/services/outside_network.c
2764
log_assert(ins != NULL); /* must not be already present */
usr.sbin/unbound/services/outside_network.c
2833
log_assert(!(w->write_wait_queued && w->on_tcp_waiting_list));
usr.sbin/unbound/services/outside_network.c
2880
log_assert(len >= 10 + 5 /* offset qname, root, qtype, qclass */);
usr.sbin/unbound/services/outside_network.c
3019
log_assert(qbuflen >= 15 /* 10 header, root, type, class */);
usr.sbin/unbound/services/outside_network.c
3045
log_assert(len1 <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/services/outside_network.c
3046
log_assert(len2 <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/services/outside_network.c
3047
log_assert(len1 == len2 && len1 != 0);
usr.sbin/unbound/services/outside_network.c
3077
log_assert(rem); /* should have been present */
usr.sbin/unbound/services/outside_network.c
3145
log_assert(sq->cblist == NULL);
usr.sbin/unbound/services/outside_network.c
3225
log_assert(roundtime >= 0);
usr.sbin/unbound/services/outside_network.c
3255
log_assert(!sq->busy);
usr.sbin/unbound/services/outside_network.c
3291
log_assert(!sq->busy);
usr.sbin/unbound/services/outside_network.c
3455
log_assert(roundtime >= 0);
usr.sbin/unbound/services/outside_network.c
3689
log_assert(port < pif->inuse);
usr.sbin/unbound/services/outside_network.c
405
log_assert(w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
406
log_assert(!w->write_wait_prev);
usr.sbin/unbound/services/outside_network.c
421
log_assert(w);
usr.sbin/unbound/services/outside_network.c
422
log_assert(w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
4234
log_assert(shpif->inuse < shpif->avail_total);
usr.sbin/unbound/services/outside_network.c
4235
log_assert(my_port >= 0 && my_port < shpif->avail_total);
usr.sbin/unbound/services/outside_network.c
4260
log_assert(shpif->inuse > 0);
usr.sbin/unbound/services/outside_network.c
430
log_assert(!w->write_wait_prev ||
usr.sbin/unbound/services/outside_network.c
435
log_assert(!w->write_wait_next
usr.sbin/unbound/services/outside_network.c
447
log_assert(!w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
450
log_assert(reuse->write_wait_last->write_wait_next !=
usr.sbin/unbound/services/outside_network.c
469
log_assert(w->id_node.key == NULL);
usr.sbin/unbound/services/outside_network.c
477
log_assert(added); /* should have been added */
usr.sbin/unbound/services/outside_network.c
526
log_assert(pend_tcp->reuse.lru_next != &pend_tcp->reuse);
usr.sbin/unbound/services/outside_network.c
528
log_assert(outnet->tcp_reuse_first->lru_prev !=
usr.sbin/unbound/services/outside_network.c
536
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
538
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
usr.sbin/unbound/services/outside_network.c
540
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
usr.sbin/unbound/services/outside_network.c
580
log_assert(&key_p.reuse != (struct reuse_tcp*)result);
usr.sbin/unbound/services/outside_network.c
581
log_assert(&key_p != ((struct reuse_tcp*)result)->pending);
usr.sbin/unbound/services/outside_network.c
667
log_assert(pend);
usr.sbin/unbound/services/outside_network.c
668
log_assert(w->pkt);
usr.sbin/unbound/services/outside_network.c
669
log_assert(w->pkt_len > 0);
usr.sbin/unbound/services/outside_network.c
670
log_assert(w->addrlen > 0);
usr.sbin/unbound/services/outside_network.c
845
log_assert(reuse->lru_prev ||
usr.sbin/unbound/services/outside_network.c
852
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
usr.sbin/unbound/services/outside_network.c
856
log_assert(!reuse->lru_next || reuse->lru_next->lru_prev != reuse->lru_next);
usr.sbin/unbound/services/outside_network.c
857
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
usr.sbin/unbound/services/outside_network.c
865
log_assert(reuse->lru_next != reuse);
usr.sbin/unbound/services/outside_network.c
870
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
usr.sbin/unbound/services/outside_network.c
872
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
883
log_assert(reuse->lru_next == NULL);
usr.sbin/unbound/services/outside_network.c
891
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
921
log_assert(0);
usr.sbin/unbound/services/outside_network.c
930
log_assert(w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
945
log_assert(!w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
969
log_assert(!w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
973
log_assert(w->next_waiting != w);
usr.sbin/unbound/services/outside_network.c
985
log_assert(
usr.sbin/unbound/services/rpz.c
1108
log_assert(dnamelen >= aznamelen);
usr.sbin/unbound/services/rpz.c
205
log_assert(rr_type == LDNS_RR_TYPE_CNAME);
usr.sbin/unbound/services/rpz.c
2770
log_assert(r);
usr.sbin/unbound/smallapp/worker_cb.c
107
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
115
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
121
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
128
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
134
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
147
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
155
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
163
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
170
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
177
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
184
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
189
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
195
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
200
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
205
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
210
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
240
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
246
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
253
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
261
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
268
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
275
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
283
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
291
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
57
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
64
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
72
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
80
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
88
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
94
log_assert(0);
usr.sbin/unbound/testcode/asynclook.c
285
log_assert(result);
usr.sbin/unbound/testcode/checklocks.c
337
log_assert(0);
usr.sbin/unbound/testcode/checklocks.c
417
log_assert(0);
usr.sbin/unbound/testcode/checklocks.c
538
log_assert(type == check_lock_rwlock);
usr.sbin/unbound/testcode/checklocks.c
557
log_assert(type == check_lock_rwlock);
usr.sbin/unbound/testcode/checklocks.c
597
log_assert(type != check_lock_rwlock);
usr.sbin/unbound/testcode/checklocks.c
613
log_assert(0);
usr.sbin/unbound/testcode/checklocks.c
687
log_assert(0);
usr.sbin/unbound/testcode/checklocks.c
735
log_assert(thr->num < THRDEBUG_MAX_THREADS);
usr.sbin/unbound/testcode/checklocks.c
783
log_assert(thread_infos[i] == NULL);
usr.sbin/unbound/testcode/delayer.c
233
log_assert(sldns_buffer_limit(pkt) <= 65535);
usr.sbin/unbound/testcode/delayer.c
277
log_assert(where != NULL);
usr.sbin/unbound/testcode/delayer.c
323
log_assert(r->high - r->low >= done);
usr.sbin/unbound/testcode/delayer.c
327
log_assert(r->size - r->low >= done);
usr.sbin/unbound/testcode/doqclient.c
1337
log_assert(data->session_file);
usr.sbin/unbound/testcode/doqclient.c
2550
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2557
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2565
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2573
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2581
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2587
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2600
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2608
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2614
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2621
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2634
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2642
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2650
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2657
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2664
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2671
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2676
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2681
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2687
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2692
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2697
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2702
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2732
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2738
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2745
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2753
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2760
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2767
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1095
log_assert(ans);
usr.sbin/unbound/testcode/fake_event.c
1178
log_assert(pend);
usr.sbin/unbound/testcode/fake_event.c
1180
log_assert(pend->buffer);
usr.sbin/unbound/testcode/fake_event.c
1228
log_assert(pend);
usr.sbin/unbound/testcode/fake_event.c
1230
log_assert(pend->buffer);
usr.sbin/unbound/testcode/fake_event.c
1285
log_assert(pend);
usr.sbin/unbound/testcode/fake_event.c
1295
log_assert(pend->buffer);
usr.sbin/unbound/testcode/fake_event.c
1367
log_assert(pend->zone);
usr.sbin/unbound/testcode/fake_event.c
1409
log_assert(p->cb_arg == cb_arg);
usr.sbin/unbound/testcode/fake_event.c
1487
log_assert(fc->typecode == FAKE_COMMPOINT_TYPECODE);
usr.sbin/unbound/testcode/fake_event.c
1525
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1533
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1539
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1544
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1549
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1554
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1560
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1566
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1572
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1578
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1584
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1590
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1596
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1602
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1608
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1614
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1621
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1629
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1635
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1641
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1647
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1653
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1773
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1782
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1852
log_assert(sldns_buffer_limit(query)-LDNS_HEADER_SIZE >= 2);
usr.sbin/unbound/testcode/fake_event.c
1943
log_assert(sldns_buffer_limit(packet)-LDNS_HEADER_SIZE >= 2);
usr.sbin/unbound/testcode/fake_event.c
1973
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1980
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
2001
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
2009
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
2051
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
2064
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
340
log_assert(entry && entry->reply_list);
usr.sbin/unbound/testcode/fake_event.c
416
log_assert(runtime && runtime->now &&
usr.sbin/unbound/testcode/fake_event.c
597
log_assert(mom->autotrust_id);
usr.sbin/unbound/testcode/fake_event.c
650
log_assert(mom->autotrust_id);
usr.sbin/unbound/testcode/lock_verify.c
201
log_assert(a);
usr.sbin/unbound/testcode/perf.c
153
log_assert(sig_info);
usr.sbin/unbound/testcode/readhex.c
78
log_assert(*p && isalnum((unsigned char)*p));
usr.sbin/unbound/testcode/testbound.c
650
log_assert(0);
usr.sbin/unbound/testcode/testbound.c
658
log_assert(0);
usr.sbin/unbound/testcode/testbound.c
664
log_assert(0);
usr.sbin/unbound/testcode/testbound.c
672
log_assert(0);
usr.sbin/unbound/testcode/testbound.c
694
log_assert(0);
usr.sbin/unbound/testcode/testbound.c
699
log_assert(0);
usr.sbin/unbound/testcode/unitauth.c
815
log_assert(rep->rrset_count == rep->an_numrrsets + rep->ns_numrrsets
usr.sbin/unbound/testcode/unitmain.h
49
#define unit_assert(x) do {testcount++; log_assert(x);} while(0)
usr.sbin/unbound/util/alloc.c
217
log_assert(alloc);
usr.sbin/unbound/util/alloc.c
258
log_assert(p);
usr.sbin/unbound/util/alloc.c
259
log_assert(alloc && alloc->super &&
usr.sbin/unbound/util/alloc.c
281
log_assert(alloc);
usr.sbin/unbound/util/alloc.c
350
log_assert(r->next == NULL);
usr.sbin/unbound/util/alloc.c
379
log_assert(size <= SIZE_MAX-16);
usr.sbin/unbound/util/alloc.c
402
log_assert(s <= SIZE_MAX-16);
usr.sbin/unbound/util/alloc.c
452
log_assert(size <= SIZE_MAX-16);
usr.sbin/unbound/util/alloc.c
558
log_assert(size <= SIZE_MAX-(lite_pad*2+sizeof(size_t)));
usr.sbin/unbound/util/alloc.c
576
log_assert(req <= SIZE_MAX-(lite_pad*2+sizeof(size_t)));
usr.sbin/unbound/util/config_file.c
1495
log_assert((pow_2_threads & (pow_2_threads - 1)) == 0); /* powerof2? */
usr.sbin/unbound/util/config_file.c
2023
log_assert(at == num);
usr.sbin/unbound/util/config_file.c
2393
log_assert((size_t)pos < len);
usr.sbin/unbound/util/data/dname.c
103
log_assert(d1 && d2);
usr.sbin/unbound/util/data/dname.c
114
log_assert(lab1 == lab2 && lab1 != 0);
usr.sbin/unbound/util/data/dname.c
237
log_assert(pkt && d1 && d2);
usr.sbin/unbound/util/data/dname.c
263
log_assert(len1 <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/util/data/dname.c
264
log_assert(len2 <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/util/data/dname.c
269
log_assert(len1 == len2 && len1 != 0);
usr.sbin/unbound/util/data/dname.c
296
log_assert(lablen <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/util/data/dname.c
332
log_assert(lablen <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/util/data/dname.c
372
log_assert(lablen <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/util/data/dname.c
499
log_assert(atlabel == labs2);
usr.sbin/unbound/util/data/dname.c
507
log_assert(atlabel == labs1);
usr.sbin/unbound/util/data/dname.c
518
log_assert(len1 != 0 && len2 != 0);
usr.sbin/unbound/util/data/dname.c
723
log_assert(dname);
usr.sbin/unbound/util/data/dname.c
725
log_assert(!LABEL_IS_PTR(len));
usr.sbin/unbound/util/data/dname.c
733
log_assert(dname && *dname && len);
usr.sbin/unbound/util/data/dname.c
735
log_assert(!LABEL_IS_PTR(lablen));
usr.sbin/unbound/util/data/dname.c
736
log_assert(*len > lablen);
usr.sbin/unbound/util/data/dname.c
747
log_assert(dname && *dname && len);
usr.sbin/unbound/util/data/dname.c
749
log_assert(!LABEL_IS_PTR(lablen));
usr.sbin/unbound/util/data/dname.c
750
log_assert(*len > lablen);
usr.sbin/unbound/util/data/dname.c
837
log_assert(atlabel == labs2);
usr.sbin/unbound/util/data/dname.c
845
log_assert(atlabel == labs1);
usr.sbin/unbound/util/data/msgencode.c
1050
log_assert((flags & BIT_QR)); /* QR bit must be on in our replies */
usr.sbin/unbound/util/data/msgencode.c
1100
log_assert(sldns_buffer_remaining(pkt) >= 12+255+4/*max query*/);
usr.sbin/unbound/util/data/msgencode.c
219
log_assert(uplabs >= 0);
usr.sbin/unbound/util/data/msgencode.c
999
log_assert(pad_pos + 4 <= msg_sz);
usr.sbin/unbound/util/data/msgparse.c
1203
log_assert(found->rr_first && found->rr_last);
usr.sbin/unbound/util/data/msgparse.c
1288
log_assert(LDNS_QDCOUNT(sldns_buffer_begin(pkt)) == 1);
usr.sbin/unbound/util/data/msgparse.c
1383
log_assert(ttl_add <= ttl);
usr.sbin/unbound/util/data/msgparse.c
312
default: log_assert(0);
usr.sbin/unbound/util/data/msgparse.c
324
default: log_assert(0);
usr.sbin/unbound/util/data/msgparse.c
336
log_assert( rrset->type == LDNS_RR_TYPE_RRSIG );
usr.sbin/unbound/util/data/msgparse.c
404
log_assert( sigset->type == LDNS_RR_TYPE_RRSIG );
usr.sbin/unbound/util/data/msgparse.c
405
log_assert( datatype != LDNS_RR_TYPE_RRSIG );
usr.sbin/unbound/util/data/msgparse.c
417
default: log_assert(0);
usr.sbin/unbound/util/data/msgparse.c
592
log_assert(msg->qdcount == 1);
usr.sbin/unbound/util/data/msgparse.c
632
log_assert(0); /* add type above */
usr.sbin/unbound/util/data/msgreply.c
1420
log_assert(p && q);
usr.sbin/unbound/util/data/msgreply.c
181
log_assert(TTL_IS_EXPIRED(rep->ttl, timenow));
usr.sbin/unbound/util/data/msgreply.c
194
log_assert(TTL_IS_EXPIRED(rep->ttl, timenow));
usr.sbin/unbound/util/data/msgreply.c
329
log_assert(len <= pkt_len);
usr.sbin/unbound/util/data/msgreply.c
507
log_assert(rep);
usr.sbin/unbound/util/data/msgreply.c
526
log_assert(rep->serve_expired_norec_ttl == 0);
usr.sbin/unbound/util/data/msgreply.c
535
log_assert(pkt && msg);
usr.sbin/unbound/util/data/msgreply.c
611
log_assert(rep->serve_expired_norec_ttl == 0);
usr.sbin/unbound/util/data/msgreply.c
634
log_assert(rep->serve_expired_norec_ttl == 0);
usr.sbin/unbound/util/data/msgreply.c
692
log_assert( (x) == (y) );
usr.sbin/unbound/util/data/msgreply.c
704
log_assert(msg1->qname_len == msg2->qname_len);
usr.sbin/unbound/util/data/packed_rrset.c
282
log_assert(dest_len > 0 && dest);
usr.sbin/unbound/util/data/packed_rrset.c
366
log_assert(d->ttl_add <= now ||
usr.sbin/unbound/util/data/packed_rrset.c
87
log_assert(d->count > 0);
usr.sbin/unbound/util/edns.c
107
log_assert(c->str && c->str2);
usr.sbin/unbound/util/edns.c
250
log_assert(cookie_secret_file != NULL);
usr.sbin/unbound/util/edns.c
269
log_assert( secret_len <= sizeof(secret) );
usr.sbin/unbound/util/edns.c
337
log_assert(secret_len == UNBOUND_COOKIE_SECRET_SIZE);
usr.sbin/unbound/util/net_help.c
399
log_assert(i < 4 && i >= 0);
usr.sbin/unbound/util/net_help.c
403
log_assert(i < 16 && i >= 1);
usr.sbin/unbound/util/net_help.c
679
log_assert(len1 == len2);
usr.sbin/unbound/util/net_help.c
684
log_assert( p1_in->sin_family == p2_in->sin_family );
usr.sbin/unbound/util/net_help.c
692
log_assert(p1_in->sin_port == p2_in->sin_port);
usr.sbin/unbound/util/net_help.c
700
log_assert(p1_in6->sin6_port == p2_in6->sin6_port);
usr.sbin/unbound/util/net_help.c
721
log_assert(len1 == len2);
usr.sbin/unbound/util/net_help.c
726
log_assert( p1_in->sin_family == p2_in->sin_family );
usr.sbin/unbound/util/net_help.c
751
log_assert(len1 == len2);
usr.sbin/unbound/util/net_help.c
756
log_assert( p1_in->sin_family == p2_in->sin_family );
usr.sbin/unbound/util/net_help.c
764
log_assert(p1_in->sin_port == p2_in->sin_port);
usr.sbin/unbound/util/net_help.c
776
log_assert(p1_in6->sin6_port == p2_in6->sin6_port);
usr.sbin/unbound/util/net_help.c
838
log_assert(z);
usr.sbin/unbound/util/net_help.c
883
log_assert(addr->ss_family == AF_INET);
usr.sbin/unbound/util/net_help.c
886
log_assert(prefixnet_is_nat64(nat64_prefixnet));
usr.sbin/unbound/util/net_help.c
967
log_assert(list);
usr.sbin/unbound/util/netevent.c
1014
log_assert(rep.c->type == comm_udp);
usr.sbin/unbound/util/netevent.c
1018
log_assert(rep.c && rep.c->buffer && rep.c->fd == fd);
usr.sbin/unbound/util/netevent.c
1024
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
1025
log_assert(sldns_buffer_remaining(rep.c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
1138
log_assert(rep.c->type == comm_udp);
usr.sbin/unbound/util/netevent.c
1142
log_assert(rep.c && rep.c->buffer && rep.c->fd == fd);
usr.sbin/unbound/util/netevent.c
1147
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
1148
log_assert(sldns_buffer_remaining(rep.c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
1246
log_assert(localaddrlen >= sizeof(struct sockaddr_in));
usr.sbin/unbound/util/netevent.c
1249
log_assert(msg->msg_controllen <= control_size);
usr.sbin/unbound/util/netevent.c
1265
log_assert(localaddrlen >= sizeof(struct sockaddr_in));
usr.sbin/unbound/util/netevent.c
1268
log_assert(msg->msg_controllen <= control_size);
usr.sbin/unbound/util/netevent.c
1278
log_assert(localaddrlen >= sizeof(struct sockaddr_in6));
usr.sbin/unbound/util/netevent.c
1281
log_assert(msg->msg_controllen <= control_size);
usr.sbin/unbound/util/netevent.c
1304
log_assert(addrlen >= sizeof(*sa));
usr.sbin/unbound/util/netevent.c
1314
log_assert(addrlen >= sizeof(*sa6));
usr.sbin/unbound/util/netevent.c
1675
log_assert(conid->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
1962
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
2230
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
2289
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
2522
log_assert(c->type == comm_doq);
usr.sbin/unbound/util/netevent.c
2524
log_assert(c && c->doq_socket->pkt_buf && c->fd == fd);
usr.sbin/unbound/util/netevent.c
2613
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
2614
log_assert(sldns_buffer_remaining(c->doq_socket->pkt_buf) > 0);
usr.sbin/unbound/util/netevent.c
2718
log_assert(table != NULL);
usr.sbin/unbound/util/netevent.c
2800
log_assert(table != NULL);
usr.sbin/unbound/util/netevent.c
2821
log_assert(c->doq_socket);
usr.sbin/unbound/util/netevent.c
2865
log_assert(repinfo->c->type == comm_doq);
usr.sbin/unbound/util/netevent.c
2896
log_assert(repinfo->c->type == comm_doq);
usr.sbin/unbound/util/netevent.c
2925
log_assert(c->type == comm_tcp || c->type == comm_http);
usr.sbin/unbound/util/netevent.c
2926
log_assert(c->fd == -1);
usr.sbin/unbound/util/netevent.c
3131
log_assert(h2_session->callbacks);
usr.sbin/unbound/util/netevent.c
3202
log_assert(c->type == comm_tcp_accept);
usr.sbin/unbound/util/netevent.c
3217
log_assert(c_hdl->is_in_tcp_free);
usr.sbin/unbound/util/netevent.c
3262
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
3294
log_assert(c_hdl == c->tcp_free);
usr.sbin/unbound/util/netevent.c
3295
log_assert(c_hdl->is_in_tcp_free);
usr.sbin/unbound/util/netevent.c
3312
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
3323
log_assert(c->tcp_free == NULL);
usr.sbin/unbound/util/netevent.c
3324
log_assert(c->tcp_parent->cur_tcp_count > 0);
usr.sbin/unbound/util/netevent.c
3345
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
3375
log_assert(c->type == comm_tcp || c->type == comm_local);
usr.sbin/unbound/util/netevent.c
3929
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
3930
log_assert(!c->tcp_write_and_read || c->tcp_write_byte_count < c->tcp_write_pkt_len + 2);
usr.sbin/unbound/util/netevent.c
400
log_assert(c->fd != -1);
usr.sbin/unbound/util/netevent.c
4010
log_assert(c->type == comm_tcp || c->type == comm_local);
usr.sbin/unbound/util/netevent.c
4016
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
405
log_assert(addr && addrlen > 0);
usr.sbin/unbound/util/netevent.c
4256
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
4264
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
4333
log_assert(iov[0].iov_len > 0);
usr.sbin/unbound/util/netevent.c
4426
log_assert(iov[0].iov_len > 0);
usr.sbin/unbound/util/netevent.c
4493
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(buffer) > 0);
usr.sbin/unbound/util/netevent.c
4494
log_assert(!c->tcp_write_and_read || c->tcp_write_byte_count < c->tcp_write_pkt_len + 2);
usr.sbin/unbound/util/netevent.c
4615
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
4705
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
4716
log_assert(c->tcp_free == NULL);
usr.sbin/unbound/util/netevent.c
4717
log_assert(c->tcp_parent->cur_tcp_count > 0);
usr.sbin/unbound/util/netevent.c
4735
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
4777
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
5171
log_assert(h2_session->c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5172
log_assert(h2_session->c->h2_session);
usr.sbin/unbound/util/netevent.c
5256
log_assert(c->h2_session);
usr.sbin/unbound/util/netevent.c
5293
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5294
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
5439
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
5479
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
5508
log_assert(h2_session->c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5509
log_assert(h2_session->c->h2_session);
usr.sbin/unbound/util/netevent.c
5590
log_assert(c->h2_session);
usr.sbin/unbound/util/netevent.c
5621
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5622
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
5683
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5726
log_assert(c->type == comm_local);
usr.sbin/unbound/util/netevent.c
5745
log_assert(c->type == comm_raw);
usr.sbin/unbound/util/netevent.c
5895
log_assert(table != NULL);
usr.sbin/unbound/util/netevent.c
640
log_assert(c->fd != -1);
usr.sbin/unbound/util/netevent.c
645
log_assert(addr && addrlen > 0);
usr.sbin/unbound/util/netevent.c
665
log_assert(msg.msg_controllen <= sizeof(control.buf));
usr.sbin/unbound/util/netevent.c
6677
log_assert(repinfo && repinfo->c);
usr.sbin/unbound/util/netevent.c
6767
log_assert(repinfo->c);
usr.sbin/unbound/util/netevent.c
6768
log_assert(repinfo->c->type != comm_tcp_accept);
usr.sbin/unbound/util/netevent.c
681
log_assert(msg.msg_controllen <= sizeof(control.buf));
usr.sbin/unbound/util/netevent.c
6947
log_assert(tv);
usr.sbin/unbound/util/netevent.c
699
log_assert(msg.msg_controllen <= sizeof(control.buf));
usr.sbin/unbound/util/netevent.c
7031
log_assert(comsig);
usr.sbin/unbound/util/netevent.c
716
log_assert(msg.msg_controllen <= sizeof(control.buf));
usr.sbin/unbound/util/rbtree.c
310
log_assert(rbtree->root == old);
usr.sbin/unbound/util/rbtree.c
314
log_assert(parent->left == old || parent->right == old
usr.sbin/unbound/util/rbtree.c
324
log_assert(child->parent == old || child->parent == new);
usr.sbin/unbound/util/rbtree.c
378
log_assert(to_delete->left == RBTREE_NULL || to_delete->right == RBTREE_NULL);
usr.sbin/unbound/util/rbtree.c
464
log_assert(sibling != RBTREE_NULL);
usr.sbin/unbound/util/rbtree.c
498
log_assert(sibling->left->color == RED);
usr.sbin/unbound/util/rbtree.c
504
log_assert(sibling->right->color == RED);
usr.sbin/unbound/util/rbtree.c
517
log_assert(result);
usr.sbin/unbound/util/regional.c
243
log_assert(ALIGNMENT >= sizeof(char*));
usr.sbin/unbound/util/regional.c
244
log_assert(REGIONAL_CHUNK_SIZE > ALIGNMENT);
usr.sbin/unbound/util/regional.c
245
log_assert(REGIONAL_CHUNK_SIZE-ALIGNMENT > r->large_object_size);
usr.sbin/unbound/util/regional.c
246
log_assert(REGIONAL_CHUNK_SIZE >= sizeof(struct regional));
usr.sbin/unbound/util/regional.c
95
log_assert(sizeof(struct regional) <= size);
usr.sbin/unbound/util/storage/lruhash.c
187
log_assert(table);
usr.sbin/unbound/util/storage/lruhash.c
199
log_assert(d && d->lru_prev);
usr.sbin/unbound/util/storage/lruhash.c
295
log_assert(table && entry);
usr.sbin/unbound/util/storage/lruhash.c
627
log_assert(table && entry);
usr.sbin/unbound/util/storage/slabhash.c
58
log_assert(sl->size > 0);
usr.sbin/unbound/util/storage/slabhash.c
68
log_assert( (sl->size & sl->mask) == 0
usr.sbin/unbound/util/tcp_conn_limit.c
136
log_assert(p->str && p->str2);
usr.sbin/unbound/util/tcp_conn_limit.c
175
log_assert(tcl->count > 0);
usr.sbin/unbound/util/tube.c
523
log_assert(0);
usr.sbin/unbound/util/tube.c
722
log_assert(0);
usr.sbin/unbound/util/tube.c
730
log_assert(0);
usr.sbin/unbound/util/ub_event.c
186
log_assert(0); /* this NULL callback pointer should not happen,
usr.sbin/unbound/util/winsock_event.c
206
log_assert(ev->is_signal && ev->hEvent);
usr.sbin/unbound/util/winsock_event.c
264
log_assert(numwait <= WSA_MAXIMUM_WAIT_EVENTS);
usr.sbin/unbound/util/winsock_event.c
501
log_assert(ev->ev_fd==-1 || find_fd(ev->ev_base, ev->ev_fd) == -1);
usr.sbin/unbound/util/winsock_event.c
583
log_assert(ev->added);
usr.sbin/unbound/util/winsock_event.c
587
log_assert(ev->ev_base->max > 0);
usr.sbin/unbound/util/winsock_event.c
681
log_assert(ev->added && ev->ev_base->max > 0)
usr.sbin/unbound/validator/autotrust.c
1196
log_assert(tp->autr);
usr.sbin/unbound/validator/autotrust.c
1541
log_assert(ntohs(dnskey_rrset->rk.type) == LDNS_RR_TYPE_DNSKEY);
usr.sbin/unbound/validator/autotrust.c
1560
log_assert(dnskey_calc_keytag(dnskey_rrset, i)-128 ==
usr.sbin/unbound/validator/autotrust.c
1633
log_assert(ntohs(dnskey_rrset->rk.type) == LDNS_RR_TYPE_DNSKEY);
usr.sbin/unbound/validator/autotrust.c
1808
log_assert(anchor);
usr.sbin/unbound/validator/autotrust.c
2095
log_assert(tp == tp2);
usr.sbin/unbound/validator/autotrust.c
2174
log_assert(tp && tp->autr);
usr.sbin/unbound/validator/autotrust.c
724
log_assert(data->rr_data[i]);
usr.sbin/unbound/validator/autotrust.c
96
log_assert(a->autr && b->autr);
usr.sbin/unbound/validator/val_anchor.c
254
log_assert(r != NULL);
usr.sbin/unbound/validator/val_neg.c
1429
log_assert(!topname || dname_subdomain_c(qinfo->qname, topname));
usr.sbin/unbound/validator/val_neg.c
208
log_assert(z->in_use);
usr.sbin/unbound/validator/val_neg.c
209
log_assert(z->count > 0);
usr.sbin/unbound/validator/val_neg.c
215
log_assert(p->count > 0);
usr.sbin/unbound/validator/val_neg.c
239
log_assert(el->in_use);
usr.sbin/unbound/validator/val_neg.c
240
log_assert(el->count > 0);
usr.sbin/unbound/validator/val_neg.c
245
log_assert(neg->first != el && neg->last != el);
usr.sbin/unbound/validator/val_neg.c
250
log_assert(p->count > 0);
usr.sbin/unbound/validator/val_neg.c
342
log_assert(len > 1); /* not root label */
usr.sbin/unbound/validator/val_neg.c
361
log_assert(len > 1); /* not root label */
usr.sbin/unbound/validator/val_neg.c
550
log_assert(!parent || parent->count > 0);
usr.sbin/unbound/validator/val_neg.c
777
log_assert(parent->count > 0);
usr.sbin/unbound/validator/val_neg.c
784
log_assert(!parent || parent->count > 0);
usr.sbin/unbound/validator/val_nsec.c
152
log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
usr.sbin/unbound/validator/val_nsec.c
153
log_assert(ntohs(nsec->rk.type) == LDNS_RR_TYPE_NSEC);
usr.sbin/unbound/validator/val_nsec.c
301
log_assert(wc);
usr.sbin/unbound/validator/val_nsec3.c
1204
log_assert(ce.ce);
usr.sbin/unbound/validator/val_nsec3.c
134
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
1355
log_assert(ce.ce);
usr.sbin/unbound/validator/val_nsec3.c
1412
log_assert(ce.nc_rrset);
usr.sbin/unbound/validator/val_nsec3.c
145
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
1552
log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
usr.sbin/unbound/validator/val_nsec3.c
157
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
1636
log_assert(ce.nc_rrset);
usr.sbin/unbound/validator/val_nsec3.c
169
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
186
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
201
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
236
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
297
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
525
log_assert(ve->nsec3_keyiter_count > 0);
usr.sbin/unbound/validator/val_nsec3.c
753
log_assert(n); /* cannot be duplicate, just did lookup */
usr.sbin/unbound/validator/val_sigcrypt.c
1017
log_assert(r1->rrset == r2->rrset);
usr.sbin/unbound/validator/val_sigcrypt.c
1069
log_assert(rrsig_labels < fqdn_labels);
usr.sbin/unbound/validator/val_sigcrypt.c
117
log_assert(sig_idx < d->rrsig_count);
usr.sbin/unbound/validator/val_sigcrypt.c
134
log_assert(sig_idx < d->rrsig_count);
usr.sbin/unbound/validator/val_sigcrypt.c
146
log_assert(d && idx < (d->count + d->rrsig_count));
usr.sbin/unbound/validator/val_sigcrypt.c
465
log_assert(dnskey_algo_id_is_supported((int)algo));
usr.sbin/unbound/validator/val_sigcrypt.c
466
log_assert(n->needs[algo] == 0);
usr.sbin/unbound/validator/val_sigcrypt.c
487
log_assert(algo != 0); /* we do not support 0 and is EOS */
usr.sbin/unbound/validator/val_sigcrypt.c
984
log_assert(desc);
usr.sbin/unbound/validator/val_sigcrypt.c
986
log_assert(desc->_minimum == desc->_maximum);
usr.sbin/unbound/validator/val_utils.c
1091
log_assert(index < rep->rrset_count);
usr.sbin/unbound/validator/val_utils.c
1092
log_assert(index >= rep->an_numrrsets);
usr.sbin/unbound/validator/val_utils.c
1093
log_assert(index < rep->an_numrrsets+rep->ns_numrrsets);
usr.sbin/unbound/validator/validator.c
2087
log_assert(vq->key_entry && !key_entry_isbad(vq->key_entry));
usr.sbin/unbound/validator/validator.c
2145
log_assert(strip_lab >= -1);
usr.sbin/unbound/validator/validator.c
336
log_assert(!qstate->minfo[id]);