Symbol: log_assert
sbin/unwind/libunbound/dns64/dns64.c
1005
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
830
log_assert(super->region);
sbin/unwind/libunbound/dns64/dns64.c
831
log_assert(qstate->return_msg);
sbin/unwind/libunbound/dns64/dns64.c
832
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
255
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_hints.c
227
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_hints.c
258
log_assert(p->str);
sbin/unwind/libunbound/iterator/iter_hints.c
427
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
820
log_assert(rrset->type == LDNS_RR_TYPE_NSEC);
sbin/unwind/libunbound/iterator/iter_scrub.c
83
default: log_assert(0);
sbin/unwind/libunbound/iterator/iter_utils.c
1091
log_assert(p->an_numrrsets + p->ns_numrrsets + p->ar_numrrsets <=
sbin/unwind/libunbound/iterator/iter_utils.c
1104
log_assert(q->an_numrrsets + q->ns_numrrsets + q->ar_numrrsets <=
sbin/unwind/libunbound/iterator/iter_utils.c
429
log_assert(n > 0);
sbin/unwind/libunbound/iterator/iter_utils.c
682
log_assert(num > 1);
sbin/unwind/libunbound/iterator/iter_utils.c
990
log_assert(type==RESPONSE_TYPE_ANSWER || type==RESPONSE_TYPE_CNAME);
sbin/unwind/libunbound/iterator/iterator.c
1162
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
1213
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
1279
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
2006
log_assert(maxtargets != 0); /* that would not be useful */
sbin/unwind/libunbound/iterator/iterator.c
2042
log_assert(toget <= missing);
sbin/unwind/libunbound/iterator/iterator.c
2143
log_assert(iq->dp);
sbin/unwind/libunbound/iterator/iterator.c
3710
log_assert(qstate->is_priming || foriq->wait_priming_stub);
sbin/unwind/libunbound/iterator/iterator.c
3711
log_assert(qstate->return_rcode == LDNS_RCODE_NOERROR);
sbin/unwind/libunbound/iterator/iterator.c
3820
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
1003
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1008
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1013
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1020
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1026
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1032
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1039
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1045
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1053
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1061
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1068
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1075
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1083
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
1091
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
932
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
939
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
947
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
955
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
963
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
969
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
981
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
988
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
993
log_assert(0);
sbin/unwind/libunbound/libunbound/libworker.c
998
log_assert(0);
sbin/unwind/libunbound/respip/respip.c
108
log_assert(set);
sbin/unwind/libunbound/respip/respip.c
1240
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
2585
log_assert(msg->rep->rrset_count == 0);
sbin/unwind/libunbound/services/authzone.c
2777
log_assert(*node); /* we already have a node when calling this */
sbin/unwind/libunbound/services/authzone.c
2998
log_assert(dname_strict_subdomain(qname, qlabs, cenm, celabs));
sbin/unwind/libunbound/services/authzone.c
3241
log_assert(ce);
sbin/unwind/libunbound/services/authzone.c
3270
log_assert(ce);
sbin/unwind/libunbound/services/authzone.c
5592
log_assert(xfr->task_transfer->worker == env->worker);
sbin/unwind/libunbound/services/authzone.c
5701
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6141
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6183
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6264
log_assert(xfr->task_transfer);
sbin/unwind/libunbound/services/authzone.c
6329
log_assert(xfr->task_transfer != NULL);
sbin/unwind/libunbound/services/authzone.c
6330
log_assert(xfr->task_transfer->worker == NULL);
sbin/unwind/libunbound/services/authzone.c
6331
log_assert(xfr->task_transfer->chunks_first == NULL);
sbin/unwind/libunbound/services/authzone.c
6332
log_assert(xfr->task_transfer->chunks_last == NULL);
sbin/unwind/libunbound/services/authzone.c
6478
log_assert(xfr->task_probe);
sbin/unwind/libunbound/services/authzone.c
6514
log_assert(xfr->task_probe);
sbin/unwind/libunbound/services/authzone.c
6764
log_assert(xfr->task_probe);
sbin/unwind/libunbound/services/authzone.c
6842
log_assert(xfr->task_nextprobe);
sbin/unwind/libunbound/services/authzone.c
6934
log_assert(xfr->task_nextprobe != NULL);
sbin/unwind/libunbound/services/authzone.c
6935
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
835
log_assert(lookup[num] == 0);
sbin/unwind/libunbound/services/cache/rrset.c
200
log_assert(ref->id != 0 && k->id != 0);
sbin/unwind/libunbound/services/cache/rrset.c
201
log_assert(k->rk.dname != NULL);
sbin/unwind/libunbound/services/cache/rrset.c
232
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
2397
log_assert(req && mesh && m);
sbin/unwind/libunbound/services/listen_dnsport.c
2783
log_assert(h2_stream->qbuffer);
sbin/unwind/libunbound/services/listen_dnsport.c
2970
log_assert(expectb64len > 0);
sbin/unwind/libunbound/services/listen_dnsport.c
3486
log_assert(timer->timer_in_list == 0);
sbin/unwind/libunbound/services/localzone.c
1554
log_assert(ctargetlen >= 3);
sbin/unwind/libunbound/services/localzone.c
1555
log_assert(qinfo->qname_len >= 1);
sbin/unwind/libunbound/services/localzone.c
442
log_assert(pd->count > 0);
sbin/unwind/libunbound/services/localzone.c
493
log_assert(0); /* duplicate name */
sbin/unwind/libunbound/services/localzone.c
560
log_assert(node);
sbin/unwind/libunbound/services/localzone.c
594
log_assert(rrset && pd);
sbin/unwind/libunbound/services/localzone.c
621
log_assert(z->dclass == rrclass);
sbin/unwind/libunbound/services/mesh.c
1074
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1082
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1118
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
1122
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
1181
log_assert(n != NULL); /* must have been present */
sbin/unwind/libunbound/services/mesh.c
1185
log_assert(mesh->num_detached_states +
sbin/unwind/libunbound/services/mesh.c
1221
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
1231
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
1253
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
1292
log_assert(n != NULL); /* we checked above if statement, the reverse
sbin/unwind/libunbound/services/mesh.c
1367
log_assert(m->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1559
log_assert(m->s.env->mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
1828
log_assert(mstate->s.env->mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
1842
log_assert(mstate->s.env->mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
1920
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
sbin/unwind/libunbound/services/mesh.c
1992
log_assert(!qinfo->local_alias->next && dsrc->count == 1 &&
sbin/unwind/libunbound/services/mesh.c
2340
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
2359
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
2571
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
2584
log_assert(qstate->env->mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
2619
log_assert(mesh->num_reply_addrs > 0);
sbin/unwind/libunbound/services/mesh.c
2623
log_assert(mesh->num_reply_states > 0);
sbin/unwind/libunbound/services/mesh.c
517
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
560
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
645
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
680
log_assert(mesh->num_detached_states > 0);
sbin/unwind/libunbound/services/mesh.c
737
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
766
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
824
log_assert(n != NULL);
sbin/unwind/libunbound/services/mesh.c
853
log_assert(n != NULL);
sbin/unwind/libunbound/services/outside_network.c
1041
log_assert(w->id_node.key != NULL);
sbin/unwind/libunbound/services/outside_network.c
1048
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
1131
log_assert(reuse->lru_prev->pending);
sbin/unwind/libunbound/services/outside_network.c
1133
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
sbin/unwind/libunbound/services/outside_network.c
1135
log_assert(!reuse->lru_next || reuse->lru_next->pending);
sbin/unwind/libunbound/services/outside_network.c
1137
log_assert(!outnet->tcp_reuse_first ||
sbin/unwind/libunbound/services/outside_network.c
1146
log_assert(reuse->lru_next->pending);
sbin/unwind/libunbound/services/outside_network.c
1148
log_assert(reuse->lru_next->lru_prev != reuse->lru_next);
sbin/unwind/libunbound/services/outside_network.c
1150
log_assert(!reuse->lru_prev || reuse->lru_prev->pending);
sbin/unwind/libunbound/services/outside_network.c
1152
log_assert(!outnet->tcp_reuse_last ||
sbin/unwind/libunbound/services/outside_network.c
1158
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
1301
log_assert(pend->reuse.item_on_lru_list && pend->reuse.node.key);
sbin/unwind/libunbound/services/outside_network.c
1321
log_assert(c == pend->c);
sbin/unwind/libunbound/services/outside_network.c
1322
log_assert(pend->query->pkt == pend->c->tcp_write_pkt);
sbin/unwind/libunbound/services/outside_network.c
1323
log_assert(pend->query->pkt_len == pend->c->tcp_write_pkt_len);
sbin/unwind/libunbound/services/outside_network.c
1327
log_assert(pend->query->id_node.key);
sbin/unwind/libunbound/services/outside_network.c
1390
log_assert(!w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
1391
log_assert(!w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
1434
log_assert(pif->inuse > 0);
sbin/unwind/libunbound/services/outside_network.c
1462
log_assert(!pend->sq->busy);
sbin/unwind/libunbound/services/outside_network.c
1496
log_assert(reply_info);
sbin/unwind/libunbound/services/outside_network.c
1969
log_assert(x == p);
sbin/unwind/libunbound/services/outside_network.c
2123
log_assert(outnet->unused_fds);
sbin/unwind/libunbound/services/outside_network.c
2151
log_assert(pif->inuse < pif->maxout);
sbin/unwind/libunbound/services/outside_network.c
2208
log_assert(pend->pc);
sbin/unwind/libunbound/services/outside_network.c
2235
log_assert(pend->pc && pend->pc->cp);
sbin/unwind/libunbound/services/outside_network.c
2313
log_assert(!sq->busy);
sbin/unwind/libunbound/services/outside_network.c
236
log_assert(pi);
sbin/unwind/libunbound/services/outside_network.c
2391
log_assert(reuse->tree_by_id.count < 0xffff);
sbin/unwind/libunbound/services/outside_network.c
2397
log_assert(node && node != RBTREE_NULL); /* tree not empty */
sbin/unwind/libunbound/services/outside_network.c
2408
log_assert(curid < nextid);
sbin/unwind/libunbound/services/outside_network.c
2412
log_assert(select >= count);
sbin/unwind/libunbound/services/outside_network.c
2427
log_assert(node && node != RBTREE_NULL); /* tree not empty */
sbin/unwind/libunbound/services/outside_network.c
2429
log_assert(count + (0xffff-curid) + reuse->tree_by_id.count == 0xffff);
sbin/unwind/libunbound/services/outside_network.c
2453
log_assert(reuse->pending);
sbin/unwind/libunbound/services/outside_network.c
2458
log_assert(!reuse || (reuse && pend));
sbin/unwind/libunbound/services/outside_network.c
2466
log_assert(!reuse || (pend == reuse->pending));
sbin/unwind/libunbound/services/outside_network.c
2506
log_assert(reuse == &pend->reuse);
sbin/unwind/libunbound/services/outside_network.c
2702
log_assert(ins != NULL); /* must not be already present */
sbin/unwind/libunbound/services/outside_network.c
2771
log_assert(!(w->write_wait_queued && w->on_tcp_waiting_list));
sbin/unwind/libunbound/services/outside_network.c
2818
log_assert(len >= 10 + 5 /* offset qname, root, qtype, qclass */);
sbin/unwind/libunbound/services/outside_network.c
2957
log_assert(qbuflen >= 15 /* 10 header, root, type, class */);
sbin/unwind/libunbound/services/outside_network.c
2983
log_assert(len1 <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/services/outside_network.c
2984
log_assert(len2 <= LDNS_MAX_LABELLEN);
sbin/unwind/libunbound/services/outside_network.c
2985
log_assert(len1 == len2 && len1 != 0);
sbin/unwind/libunbound/services/outside_network.c
3015
log_assert(rem); /* should have been present */
sbin/unwind/libunbound/services/outside_network.c
3083
log_assert(sq->cblist == NULL);
sbin/unwind/libunbound/services/outside_network.c
3163
log_assert(roundtime >= 0);
sbin/unwind/libunbound/services/outside_network.c
3193
log_assert(!sq->busy);
sbin/unwind/libunbound/services/outside_network.c
3229
log_assert(!sq->busy);
sbin/unwind/libunbound/services/outside_network.c
3393
log_assert(roundtime >= 0);
sbin/unwind/libunbound/services/outside_network.c
391
log_assert(w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
392
log_assert(!w->write_wait_prev);
sbin/unwind/libunbound/services/outside_network.c
407
log_assert(w);
sbin/unwind/libunbound/services/outside_network.c
408
log_assert(w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
416
log_assert(!w->write_wait_prev ||
sbin/unwind/libunbound/services/outside_network.c
421
log_assert(!w->write_wait_next
sbin/unwind/libunbound/services/outside_network.c
433
log_assert(!w->write_wait_queued);
sbin/unwind/libunbound/services/outside_network.c
436
log_assert(reuse->write_wait_last->write_wait_next !=
sbin/unwind/libunbound/services/outside_network.c
455
log_assert(w->id_node.key == NULL);
sbin/unwind/libunbound/services/outside_network.c
463
log_assert(added); /* should have been added */
sbin/unwind/libunbound/services/outside_network.c
512
log_assert(pend_tcp->reuse.lru_next != &pend_tcp->reuse);
sbin/unwind/libunbound/services/outside_network.c
514
log_assert(outnet->tcp_reuse_first->lru_prev !=
sbin/unwind/libunbound/services/outside_network.c
522
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
524
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
526
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
564
log_assert(&key_p.reuse != (struct reuse_tcp*)result);
sbin/unwind/libunbound/services/outside_network.c
565
log_assert(&key_p != ((struct reuse_tcp*)result)->pending);
sbin/unwind/libunbound/services/outside_network.c
650
log_assert(pend);
sbin/unwind/libunbound/services/outside_network.c
651
log_assert(w->pkt);
sbin/unwind/libunbound/services/outside_network.c
652
log_assert(w->pkt_len > 0);
sbin/unwind/libunbound/services/outside_network.c
653
log_assert(w->addrlen > 0);
sbin/unwind/libunbound/services/outside_network.c
801
log_assert(reuse->lru_prev ||
sbin/unwind/libunbound/services/outside_network.c
808
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
sbin/unwind/libunbound/services/outside_network.c
812
log_assert(!reuse->lru_next || reuse->lru_next->lru_prev != reuse->lru_next);
sbin/unwind/libunbound/services/outside_network.c
813
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
821
log_assert(reuse->lru_next != reuse);
sbin/unwind/libunbound/services/outside_network.c
826
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
sbin/unwind/libunbound/services/outside_network.c
828
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
839
log_assert(reuse->lru_next == NULL);
sbin/unwind/libunbound/services/outside_network.c
847
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
sbin/unwind/libunbound/services/outside_network.c
877
log_assert(0);
sbin/unwind/libunbound/services/outside_network.c
886
log_assert(w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
901
log_assert(!w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
925
log_assert(!w->on_tcp_waiting_list);
sbin/unwind/libunbound/services/outside_network.c
929
log_assert(w->next_waiting != w);
sbin/unwind/libunbound/services/outside_network.c
941
log_assert(
sbin/unwind/libunbound/services/outside_network.c
968
log_assert(
sbin/unwind/libunbound/services/rpz.c
1107
log_assert(dnamelen >= aznamelen);
sbin/unwind/libunbound/services/rpz.c
204
log_assert(rr_type == LDNS_RR_TYPE_CNAME);
sbin/unwind/libunbound/services/rpz.c
2767
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
1479
log_assert((pow_2_threads & (pow_2_threads - 1)) == 0); /* powerof2? */
sbin/unwind/libunbound/util/config_file.c
2006
log_assert(at == num);
sbin/unwind/libunbound/util/config_file.c
2376
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
1024
log_assert((flags & BIT_QR)); /* QR bit must be on in our replies */
sbin/unwind/libunbound/util/data/msgencode.c
1074
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
973
log_assert(pad_pos + 4 <= msg_sz);
sbin/unwind/libunbound/util/data/msgparse.c
1192
log_assert(found->rr_first && found->rr_last);
sbin/unwind/libunbound/util/data/msgparse.c
1276
log_assert(LDNS_QDCOUNT(sldns_buffer_begin(pkt)) == 1);
sbin/unwind/libunbound/util/data/msgparse.c
310
default: log_assert(0);
sbin/unwind/libunbound/util/data/msgparse.c
322
default: log_assert(0);
sbin/unwind/libunbound/util/data/msgparse.c
334
log_assert( rrset->type == LDNS_RR_TYPE_RRSIG );
sbin/unwind/libunbound/util/data/msgparse.c
402
log_assert( sigset->type == LDNS_RR_TYPE_RRSIG );
sbin/unwind/libunbound/util/data/msgparse.c
403
log_assert( datatype != LDNS_RR_TYPE_RRSIG );
sbin/unwind/libunbound/util/data/msgparse.c
415
default: log_assert(0);
sbin/unwind/libunbound/util/data/msgparse.c
590
log_assert(msg->qdcount == 1);
sbin/unwind/libunbound/util/data/msgparse.c
630
log_assert(0); /* add type above */
sbin/unwind/libunbound/util/data/msgreply.c
1392
log_assert(p && q);
sbin/unwind/libunbound/util/data/msgreply.c
181
log_assert(rep->ttl < timenow);
sbin/unwind/libunbound/util/data/msgreply.c
193
log_assert(rep->ttl < timenow);
sbin/unwind/libunbound/util/data/msgreply.c
325
log_assert(len <= pkt_len);
sbin/unwind/libunbound/util/data/msgreply.c
502
log_assert(rep);
sbin/unwind/libunbound/util/data/msgreply.c
521
log_assert(rep->serve_expired_norec_ttl == 0);
sbin/unwind/libunbound/util/data/msgreply.c
530
log_assert(pkt && msg);
sbin/unwind/libunbound/util/data/msgreply.c
606
log_assert(rep->serve_expired_norec_ttl == 0);
sbin/unwind/libunbound/util/data/msgreply.c
664
log_assert( (x) == (y) );
sbin/unwind/libunbound/util/data/msgreply.c
676
log_assert(msg1->qname_len == msg2->qname_len);
sbin/unwind/libunbound/util/data/packed_rrset.c
281
log_assert(dest_len > 0 && dest);
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
1969
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
2238
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
2297
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
sbin/unwind/libunbound/util/netevent.c
2530
log_assert(c->type == comm_doq);
sbin/unwind/libunbound/util/netevent.c
2532
log_assert(c && c->doq_socket->pkt_buf && c->fd == fd);
sbin/unwind/libunbound/util/netevent.c
2621
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
2622
log_assert(sldns_buffer_remaining(c->doq_socket->pkt_buf) > 0);
sbin/unwind/libunbound/util/netevent.c
2827
log_assert(c->doq_socket);
sbin/unwind/libunbound/util/netevent.c
2871
log_assert(repinfo->c->type == comm_doq);
sbin/unwind/libunbound/util/netevent.c
2902
log_assert(repinfo->c->type == comm_doq);
sbin/unwind/libunbound/util/netevent.c
2931
log_assert(c->type == comm_tcp || c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
2932
log_assert(c->fd == -1);
sbin/unwind/libunbound/util/netevent.c
3137
log_assert(h2_session->callbacks);
sbin/unwind/libunbound/util/netevent.c
3208
log_assert(c->type == comm_tcp_accept);
sbin/unwind/libunbound/util/netevent.c
3223
log_assert(c_hdl->is_in_tcp_free);
sbin/unwind/libunbound/util/netevent.c
3268
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
3300
log_assert(c_hdl == c->tcp_free);
sbin/unwind/libunbound/util/netevent.c
3301
log_assert(c_hdl->is_in_tcp_free);
sbin/unwind/libunbound/util/netevent.c
3318
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
3329
log_assert(c->tcp_free == NULL);
sbin/unwind/libunbound/util/netevent.c
3330
log_assert(c->tcp_parent->cur_tcp_count > 0);
sbin/unwind/libunbound/util/netevent.c
3351
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
3381
log_assert(c->type == comm_tcp || c->type == comm_local);
sbin/unwind/libunbound/util/netevent.c
3935
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
3936
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
4016
log_assert(c->type == comm_tcp || c->type == comm_local);
sbin/unwind/libunbound/util/netevent.c
4022
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
405
log_assert(addr && addrlen > 0);
sbin/unwind/libunbound/util/netevent.c
4262
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
4270
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
4339
log_assert(iov[0].iov_len > 0);
sbin/unwind/libunbound/util/netevent.c
4432
log_assert(iov[0].iov_len > 0);
sbin/unwind/libunbound/util/netevent.c
4499
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
4500
log_assert(!c->tcp_write_and_read || c->tcp_write_byte_count < c->tcp_write_pkt_len + 2);
sbin/unwind/libunbound/util/netevent.c
4621
log_assert(c->type == comm_tcp);
sbin/unwind/libunbound/util/netevent.c
4711
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
4722
log_assert(c->tcp_free == NULL);
sbin/unwind/libunbound/util/netevent.c
4723
log_assert(c->tcp_parent->cur_tcp_count > 0);
sbin/unwind/libunbound/util/netevent.c
4741
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
4783
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
5162
log_assert(h2_session->c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5163
log_assert(h2_session->c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5247
log_assert(c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5284
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5285
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
5430
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
5470
log_assert(sldns_buffer_remaining(c->buffer) > 0);
sbin/unwind/libunbound/util/netevent.c
5499
log_assert(h2_session->c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5500
log_assert(h2_session->c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5581
log_assert(c->h2_session);
sbin/unwind/libunbound/util/netevent.c
5612
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5613
log_assert(fd != -1);
sbin/unwind/libunbound/util/netevent.c
5674
log_assert(c->type == comm_http);
sbin/unwind/libunbound/util/netevent.c
5717
log_assert(c->type == comm_local);
sbin/unwind/libunbound/util/netevent.c
5736
log_assert(c->type == comm_raw);
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
6667
log_assert(repinfo && repinfo->c);
sbin/unwind/libunbound/util/netevent.c
6756
log_assert(repinfo->c);
sbin/unwind/libunbound/util/netevent.c
6757
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
6936
log_assert(tv);
sbin/unwind/libunbound/util/netevent.c
699
log_assert(msg.msg_controllen <= sizeof(control.buf));
sbin/unwind/libunbound/util/netevent.c
7020
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
1403
log_assert(!topname || dname_subdomain_c(qinfo->qname, topname));
sbin/unwind/libunbound/validator/val_neg.c
201
log_assert(z->in_use);
sbin/unwind/libunbound/validator/val_neg.c
202
log_assert(z->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
208
log_assert(p->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
232
log_assert(el->in_use);
sbin/unwind/libunbound/validator/val_neg.c
233
log_assert(el->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
238
log_assert(neg->first != el && neg->last != el);
sbin/unwind/libunbound/validator/val_neg.c
243
log_assert(p->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
335
log_assert(len > 1); /* not root label */
sbin/unwind/libunbound/validator/val_neg.c
354
log_assert(len > 1); /* not root label */
sbin/unwind/libunbound/validator/val_neg.c
543
log_assert(!parent || parent->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
770
log_assert(parent->count > 0);
sbin/unwind/libunbound/validator/val_neg.c
777
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
1148
log_assert(ce.ce);
sbin/unwind/libunbound/validator/val_nsec3.c
1297
log_assert(ce.ce);
sbin/unwind/libunbound/validator/val_nsec3.c
1354
log_assert(ce.nc_rrset);
sbin/unwind/libunbound/validator/val_nsec3.c
139
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
1490
log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
sbin/unwind/libunbound/validator/val_nsec3.c
150
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
1572
log_assert(ce.nc_rrset);
sbin/unwind/libunbound/validator/val_nsec3.c
162
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
174
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
191
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
206
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
241
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
302
log_assert(d && r < (int)d->count);
sbin/unwind/libunbound/validator/val_nsec3.c
469
log_assert(ve->nsec3_keyiter_count > 0);
sbin/unwind/libunbound/validator/val_nsec3.c
697
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
1082
log_assert(index < rep->rrset_count);
sbin/unwind/libunbound/validator/val_utils.c
1083
log_assert(index >= rep->an_numrrsets);
sbin/unwind/libunbound/validator/val_utils.c
1084
log_assert(index < rep->an_numrrsets+rep->ns_numrrsets);
sbin/unwind/libunbound/validator/validator.c
2008
log_assert(vq->key_entry && !key_entry_isbad(vq->key_entry));
sbin/unwind/libunbound/validator/validator.c
2066
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/redis.c
439
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
349
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
547
log_assert(daemon && daemon->cfg);
usr.sbin/unbound/daemon/daemon.c
673
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
694
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
718
log_assert(daemon);
usr.sbin/unbound/daemon/daemon.c
865
log_assert(daemon);
usr.sbin/unbound/daemon/remote.c
1226
log_assert(daemon->num > 0);
usr.sbin/unbound/daemon/remote.c
2604
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
365
log_assert(cfg->remote_control_enable && cfg->control_port);
usr.sbin/unbound/daemon/remote.c
3674
log_assert( secret_file != NULL );
usr.sbin/unbound/daemon/remote.c
3695
log_assert( len == UNBOUND_COOKIE_SECRET_SIZE * 2 );
usr.sbin/unbound/daemon/remote.c
3851
log_assert( len == UNBOUND_COOKIE_SECRET_SIZE * 2 );
usr.sbin/unbound/daemon/remote.c
4341
log_assert(pollin || pollout);
usr.sbin/unbound/daemon/remote.c
6335
log_assert(ct->oldcfg);
usr.sbin/unbound/daemon/remote.c
6336
log_assert(ct->fwds);
usr.sbin/unbound/daemon/remote.c
6337
log_assert(ct->hints);
usr.sbin/unbound/daemon/remote.c
7109
log_assert(fr->commpair[0] >= 0);
usr.sbin/unbound/daemon/remote.c
7361
log_assert(namez->namelen <= sizeof(nm));
usr.sbin/unbound/daemon/remote.c
7453
log_assert(loadxfr->namelen == xfr->namelen);
usr.sbin/unbound/daemon/remote.c
7454
log_assert(loadxfr->namelabs == xfr->namelabs);
usr.sbin/unbound/daemon/remote.c
7455
log_assert(loadxfr->dclass == xfr->dclass);
usr.sbin/unbound/daemon/remote.c
7748
log_assert(fr->commpair[0] >= 0);
usr.sbin/unbound/daemon/remote.c
8209
log_assert(s);
usr.sbin/unbound/daemon/unbound.c
167
log_assert(0);
usr.sbin/unbound/daemon/worker.c
1243
log_assert(sldns_buffer_limit(c->buffer) >= LDNS_HEADER_SIZE
usr.sbin/unbound/daemon/worker.c
2245
log_assert(worker->daemon->dtenv != NULL);
usr.sbin/unbound/daemon/worker.c
2523
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2531
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2539
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2546
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2553
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2560
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2565
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2571
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2577
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2585
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2593
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2601
log_assert(0);
usr.sbin/unbound/daemon/worker.c
2609
log_assert(0);
usr.sbin/unbound/dns64/dns64.c
1005
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
830
log_assert(super->region);
usr.sbin/unbound/dns64/dns64.c
831
log_assert(qstate->return_msg);
usr.sbin/unbound/dns64/dns64.c
832
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
1917
log_assert(dtio->cur_msg == NULL && dtio->cur_msg_len == 0);
usr.sbin/unbound/dnstap/dtstream.c
1936
log_assert(dtio->cur_msg == NULL && dtio->cur_msg_len == 0);
usr.sbin/unbound/dnstap/dtstream.c
850
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
1604
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1611
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1619
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1627
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1635
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1641
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1654
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1662
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1668
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1675
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1688
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1696
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1704
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1711
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1718
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1725
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1730
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1736
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1741
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1746
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1751
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1781
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1787
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1793
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1800
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1808
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1816
log_assert(0);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
182
log_assert(!list->d);
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
114
log_assert(ecs->subnet_addr_fam == EDNSSUBNET_ADDRFAM_IP4 ||
usr.sbin/unbound/edns-subnet/subnetmod.c
116
log_assert(ecs->subnet_addr_fam != EDNSSUBNET_ADDRFAM_IP4 ||
usr.sbin/unbound/edns-subnet/subnetmod.c
118
log_assert(ecs->subnet_addr_fam != EDNSSUBNET_ADDRFAM_IP6 ||
usr.sbin/unbound/edns-subnet/subnetmod.c
125
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
255
log_assert(p->str);
usr.sbin/unbound/iterator/iter_hints.c
227
log_assert(p->str);
usr.sbin/unbound/iterator/iter_hints.c
258
log_assert(p->str);
usr.sbin/unbound/iterator/iter_hints.c
427
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
820
log_assert(rrset->type == LDNS_RR_TYPE_NSEC);
usr.sbin/unbound/iterator/iter_scrub.c
83
default: log_assert(0);
usr.sbin/unbound/iterator/iter_utils.c
1091
log_assert(p->an_numrrsets + p->ns_numrrsets + p->ar_numrrsets <=
usr.sbin/unbound/iterator/iter_utils.c
1104
log_assert(q->an_numrrsets + q->ns_numrrsets + q->ar_numrrsets <=
usr.sbin/unbound/iterator/iter_utils.c
429
log_assert(n > 0);
usr.sbin/unbound/iterator/iter_utils.c
682
log_assert(num > 1);
usr.sbin/unbound/iterator/iter_utils.c
990
log_assert(type==RESPONSE_TYPE_ANSWER || type==RESPONSE_TYPE_CNAME);
usr.sbin/unbound/iterator/iterator.c
1162
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
1213
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
1279
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
2006
log_assert(maxtargets != 0); /* that would not be useful */
usr.sbin/unbound/iterator/iterator.c
2042
log_assert(toget <= missing);
usr.sbin/unbound/iterator/iterator.c
2143
log_assert(iq->dp);
usr.sbin/unbound/iterator/iterator.c
3710
log_assert(qstate->is_priming || foriq->wait_priming_stub);
usr.sbin/unbound/iterator/iterator.c
3711
log_assert(qstate->return_rcode == LDNS_RCODE_NOERROR);
usr.sbin/unbound/iterator/iterator.c
3820
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
1003
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1008
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1013
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1020
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1026
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1032
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1039
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1045
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1053
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1061
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1068
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1075
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1083
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
1091
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
932
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
939
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
947
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
955
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
963
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
969
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
981
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
988
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
993
log_assert(0);
usr.sbin/unbound/libunbound/libworker.c
998
log_assert(0);
usr.sbin/unbound/respip/respip.c
108
log_assert(set);
usr.sbin/unbound/respip/respip.c
1240
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
2585
log_assert(msg->rep->rrset_count == 0);
usr.sbin/unbound/services/authzone.c
2777
log_assert(*node); /* we already have a node when calling this */
usr.sbin/unbound/services/authzone.c
2998
log_assert(dname_strict_subdomain(qname, qlabs, cenm, celabs));
usr.sbin/unbound/services/authzone.c
3241
log_assert(ce);
usr.sbin/unbound/services/authzone.c
3270
log_assert(ce);
usr.sbin/unbound/services/authzone.c
5592
log_assert(xfr->task_transfer->worker == env->worker);
usr.sbin/unbound/services/authzone.c
5701
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6141
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6183
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6264
log_assert(xfr->task_transfer);
usr.sbin/unbound/services/authzone.c
6329
log_assert(xfr->task_transfer != NULL);
usr.sbin/unbound/services/authzone.c
6330
log_assert(xfr->task_transfer->worker == NULL);
usr.sbin/unbound/services/authzone.c
6331
log_assert(xfr->task_transfer->chunks_first == NULL);
usr.sbin/unbound/services/authzone.c
6332
log_assert(xfr->task_transfer->chunks_last == NULL);
usr.sbin/unbound/services/authzone.c
6478
log_assert(xfr->task_probe);
usr.sbin/unbound/services/authzone.c
6514
log_assert(xfr->task_probe);
usr.sbin/unbound/services/authzone.c
6764
log_assert(xfr->task_probe);
usr.sbin/unbound/services/authzone.c
6842
log_assert(xfr->task_nextprobe);
usr.sbin/unbound/services/authzone.c
6934
log_assert(xfr->task_nextprobe != NULL);
usr.sbin/unbound/services/authzone.c
6935
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
835
log_assert(lookup[num] == 0);
usr.sbin/unbound/services/cache/rrset.c
200
log_assert(ref->id != 0 && k->id != 0);
usr.sbin/unbound/services/cache/rrset.c
201
log_assert(k->rk.dname != NULL);
usr.sbin/unbound/services/cache/rrset.c
232
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
2397
log_assert(req && mesh && m);
usr.sbin/unbound/services/listen_dnsport.c
2783
log_assert(h2_stream->qbuffer);
usr.sbin/unbound/services/listen_dnsport.c
2970
log_assert(expectb64len > 0);
usr.sbin/unbound/services/listen_dnsport.c
3486
log_assert(timer->timer_in_list == 0);
usr.sbin/unbound/services/localzone.c
1554
log_assert(ctargetlen >= 3);
usr.sbin/unbound/services/localzone.c
1555
log_assert(qinfo->qname_len >= 1);
usr.sbin/unbound/services/localzone.c
442
log_assert(pd->count > 0);
usr.sbin/unbound/services/localzone.c
493
log_assert(0); /* duplicate name */
usr.sbin/unbound/services/localzone.c
560
log_assert(node);
usr.sbin/unbound/services/localzone.c
594
log_assert(rrset && pd);
usr.sbin/unbound/services/localzone.c
621
log_assert(z->dclass == rrclass);
usr.sbin/unbound/services/mesh.c
1074
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1082
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1118
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
1122
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
1181
log_assert(n != NULL); /* must have been present */
usr.sbin/unbound/services/mesh.c
1185
log_assert(mesh->num_detached_states +
usr.sbin/unbound/services/mesh.c
1221
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
1231
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
1253
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
1292
log_assert(n != NULL); /* we checked above if statement, the reverse
usr.sbin/unbound/services/mesh.c
1367
log_assert(m->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1559
log_assert(m->s.env->mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
1828
log_assert(mstate->s.env->mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
1842
log_assert(mstate->s.env->mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
1920
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
usr.sbin/unbound/services/mesh.c
1992
log_assert(!qinfo->local_alias->next && dsrc->count == 1 &&
usr.sbin/unbound/services/mesh.c
2340
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
2359
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
2571
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
2584
log_assert(qstate->env->mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
2619
log_assert(mesh->num_reply_addrs > 0);
usr.sbin/unbound/services/mesh.c
2623
log_assert(mesh->num_reply_states > 0);
usr.sbin/unbound/services/mesh.c
517
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
560
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
645
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
680
log_assert(mesh->num_detached_states > 0);
usr.sbin/unbound/services/mesh.c
737
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
766
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
824
log_assert(n != NULL);
usr.sbin/unbound/services/mesh.c
853
log_assert(n != NULL);
usr.sbin/unbound/services/outside_network.c
1041
log_assert(w->id_node.key != NULL);
usr.sbin/unbound/services/outside_network.c
1048
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
1131
log_assert(reuse->lru_prev->pending);
usr.sbin/unbound/services/outside_network.c
1133
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
usr.sbin/unbound/services/outside_network.c
1135
log_assert(!reuse->lru_next || reuse->lru_next->pending);
usr.sbin/unbound/services/outside_network.c
1137
log_assert(!outnet->tcp_reuse_first ||
usr.sbin/unbound/services/outside_network.c
1146
log_assert(reuse->lru_next->pending);
usr.sbin/unbound/services/outside_network.c
1148
log_assert(reuse->lru_next->lru_prev != reuse->lru_next);
usr.sbin/unbound/services/outside_network.c
1150
log_assert(!reuse->lru_prev || reuse->lru_prev->pending);
usr.sbin/unbound/services/outside_network.c
1152
log_assert(!outnet->tcp_reuse_last ||
usr.sbin/unbound/services/outside_network.c
1158
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
1301
log_assert(pend->reuse.item_on_lru_list && pend->reuse.node.key);
usr.sbin/unbound/services/outside_network.c
1321
log_assert(c == pend->c);
usr.sbin/unbound/services/outside_network.c
1322
log_assert(pend->query->pkt == pend->c->tcp_write_pkt);
usr.sbin/unbound/services/outside_network.c
1323
log_assert(pend->query->pkt_len == pend->c->tcp_write_pkt_len);
usr.sbin/unbound/services/outside_network.c
1327
log_assert(pend->query->id_node.key);
usr.sbin/unbound/services/outside_network.c
1390
log_assert(!w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
1391
log_assert(!w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
1434
log_assert(pif->inuse > 0);
usr.sbin/unbound/services/outside_network.c
1462
log_assert(!pend->sq->busy);
usr.sbin/unbound/services/outside_network.c
1496
log_assert(reply_info);
usr.sbin/unbound/services/outside_network.c
1969
log_assert(x == p);
usr.sbin/unbound/services/outside_network.c
2123
log_assert(outnet->unused_fds);
usr.sbin/unbound/services/outside_network.c
2151
log_assert(pif->inuse < pif->maxout);
usr.sbin/unbound/services/outside_network.c
2208
log_assert(pend->pc);
usr.sbin/unbound/services/outside_network.c
2235
log_assert(pend->pc && pend->pc->cp);
usr.sbin/unbound/services/outside_network.c
2313
log_assert(!sq->busy);
usr.sbin/unbound/services/outside_network.c
236
log_assert(pi);
usr.sbin/unbound/services/outside_network.c
2391
log_assert(reuse->tree_by_id.count < 0xffff);
usr.sbin/unbound/services/outside_network.c
2397
log_assert(node && node != RBTREE_NULL); /* tree not empty */
usr.sbin/unbound/services/outside_network.c
2408
log_assert(curid < nextid);
usr.sbin/unbound/services/outside_network.c
2412
log_assert(select >= count);
usr.sbin/unbound/services/outside_network.c
2427
log_assert(node && node != RBTREE_NULL); /* tree not empty */
usr.sbin/unbound/services/outside_network.c
2429
log_assert(count + (0xffff-curid) + reuse->tree_by_id.count == 0xffff);
usr.sbin/unbound/services/outside_network.c
2453
log_assert(reuse->pending);
usr.sbin/unbound/services/outside_network.c
2458
log_assert(!reuse || (reuse && pend));
usr.sbin/unbound/services/outside_network.c
2466
log_assert(!reuse || (pend == reuse->pending));
usr.sbin/unbound/services/outside_network.c
2506
log_assert(reuse == &pend->reuse);
usr.sbin/unbound/services/outside_network.c
2702
log_assert(ins != NULL); /* must not be already present */
usr.sbin/unbound/services/outside_network.c
2771
log_assert(!(w->write_wait_queued && w->on_tcp_waiting_list));
usr.sbin/unbound/services/outside_network.c
2818
log_assert(len >= 10 + 5 /* offset qname, root, qtype, qclass */);
usr.sbin/unbound/services/outside_network.c
2957
log_assert(qbuflen >= 15 /* 10 header, root, type, class */);
usr.sbin/unbound/services/outside_network.c
2983
log_assert(len1 <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/services/outside_network.c
2984
log_assert(len2 <= LDNS_MAX_LABELLEN);
usr.sbin/unbound/services/outside_network.c
2985
log_assert(len1 == len2 && len1 != 0);
usr.sbin/unbound/services/outside_network.c
3015
log_assert(rem); /* should have been present */
usr.sbin/unbound/services/outside_network.c
3083
log_assert(sq->cblist == NULL);
usr.sbin/unbound/services/outside_network.c
3163
log_assert(roundtime >= 0);
usr.sbin/unbound/services/outside_network.c
3193
log_assert(!sq->busy);
usr.sbin/unbound/services/outside_network.c
3229
log_assert(!sq->busy);
usr.sbin/unbound/services/outside_network.c
3393
log_assert(roundtime >= 0);
usr.sbin/unbound/services/outside_network.c
391
log_assert(w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
392
log_assert(!w->write_wait_prev);
usr.sbin/unbound/services/outside_network.c
407
log_assert(w);
usr.sbin/unbound/services/outside_network.c
408
log_assert(w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
416
log_assert(!w->write_wait_prev ||
usr.sbin/unbound/services/outside_network.c
421
log_assert(!w->write_wait_next
usr.sbin/unbound/services/outside_network.c
433
log_assert(!w->write_wait_queued);
usr.sbin/unbound/services/outside_network.c
436
log_assert(reuse->write_wait_last->write_wait_next !=
usr.sbin/unbound/services/outside_network.c
455
log_assert(w->id_node.key == NULL);
usr.sbin/unbound/services/outside_network.c
463
log_assert(added); /* should have been added */
usr.sbin/unbound/services/outside_network.c
512
log_assert(pend_tcp->reuse.lru_next != &pend_tcp->reuse);
usr.sbin/unbound/services/outside_network.c
514
log_assert(outnet->tcp_reuse_first->lru_prev !=
usr.sbin/unbound/services/outside_network.c
522
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
524
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
usr.sbin/unbound/services/outside_network.c
526
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
usr.sbin/unbound/services/outside_network.c
564
log_assert(&key_p.reuse != (struct reuse_tcp*)result);
usr.sbin/unbound/services/outside_network.c
565
log_assert(&key_p != ((struct reuse_tcp*)result)->pending);
usr.sbin/unbound/services/outside_network.c
650
log_assert(pend);
usr.sbin/unbound/services/outside_network.c
651
log_assert(w->pkt);
usr.sbin/unbound/services/outside_network.c
652
log_assert(w->pkt_len > 0);
usr.sbin/unbound/services/outside_network.c
653
log_assert(w->addrlen > 0);
usr.sbin/unbound/services/outside_network.c
801
log_assert(reuse->lru_prev ||
usr.sbin/unbound/services/outside_network.c
808
log_assert(reuse->lru_prev->lru_next != reuse->lru_prev);
usr.sbin/unbound/services/outside_network.c
812
log_assert(!reuse->lru_next || reuse->lru_next->lru_prev != reuse->lru_next);
usr.sbin/unbound/services/outside_network.c
813
log_assert(outnet->tcp_reuse_last != outnet->tcp_reuse_last->lru_next &&
usr.sbin/unbound/services/outside_network.c
821
log_assert(reuse->lru_next != reuse);
usr.sbin/unbound/services/outside_network.c
826
log_assert(outnet->tcp_reuse_first != outnet->tcp_reuse_first->lru_next &&
usr.sbin/unbound/services/outside_network.c
828
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
839
log_assert(reuse->lru_next == NULL);
usr.sbin/unbound/services/outside_network.c
847
log_assert((!outnet->tcp_reuse_first && !outnet->tcp_reuse_last) ||
usr.sbin/unbound/services/outside_network.c
877
log_assert(0);
usr.sbin/unbound/services/outside_network.c
886
log_assert(w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
901
log_assert(!w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
925
log_assert(!w->on_tcp_waiting_list);
usr.sbin/unbound/services/outside_network.c
929
log_assert(w->next_waiting != w);
usr.sbin/unbound/services/outside_network.c
941
log_assert(
usr.sbin/unbound/services/outside_network.c
968
log_assert(
usr.sbin/unbound/services/rpz.c
1107
log_assert(dnamelen >= aznamelen);
usr.sbin/unbound/services/rpz.c
204
log_assert(rr_type == LDNS_RR_TYPE_CNAME);
usr.sbin/unbound/services/rpz.c
2767
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
141
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
149
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
157
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
164
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
171
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
178
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
183
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
189
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
194
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
199
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
204
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
234
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
240
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
247
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
255
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
262
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
269
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
277
log_assert(0);
usr.sbin/unbound/smallapp/worker_cb.c
285
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
2682
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
2727
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2733
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2740
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2748
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2755
log_assert(0);
usr.sbin/unbound/testcode/doqclient.c
2762
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1095
log_assert(ans);
usr.sbin/unbound/testcode/fake_event.c
1177
log_assert(pend);
usr.sbin/unbound/testcode/fake_event.c
1179
log_assert(pend->buffer);
usr.sbin/unbound/testcode/fake_event.c
1227
log_assert(pend);
usr.sbin/unbound/testcode/fake_event.c
1229
log_assert(pend->buffer);
usr.sbin/unbound/testcode/fake_event.c
1284
log_assert(pend);
usr.sbin/unbound/testcode/fake_event.c
1294
log_assert(pend->buffer);
usr.sbin/unbound/testcode/fake_event.c
1366
log_assert(pend->zone);
usr.sbin/unbound/testcode/fake_event.c
1408
log_assert(p->cb_arg == cb_arg);
usr.sbin/unbound/testcode/fake_event.c
1486
log_assert(fc->typecode == FAKE_COMMPOINT_TYPECODE);
usr.sbin/unbound/testcode/fake_event.c
1524
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1532
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1538
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1543
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1548
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1553
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1559
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1565
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1571
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1577
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1583
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1589
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1595
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1601
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1607
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1613
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1620
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1628
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1634
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1640
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1646
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1652
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1772
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1781
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1851
log_assert(sldns_buffer_limit(query)-LDNS_HEADER_SIZE >= 2);
usr.sbin/unbound/testcode/fake_event.c
1942
log_assert(sldns_buffer_limit(packet)-LDNS_HEADER_SIZE >= 2);
usr.sbin/unbound/testcode/fake_event.c
1972
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1979
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1986
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
1994
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
2027
log_assert(0);
usr.sbin/unbound/testcode/fake_event.c
2040
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
1479
log_assert((pow_2_threads & (pow_2_threads - 1)) == 0); /* powerof2? */
usr.sbin/unbound/util/config_file.c
2006
log_assert(at == num);
usr.sbin/unbound/util/config_file.c
2376
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
1024
log_assert((flags & BIT_QR)); /* QR bit must be on in our replies */
usr.sbin/unbound/util/data/msgencode.c
1074
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
973
log_assert(pad_pos + 4 <= msg_sz);
usr.sbin/unbound/util/data/msgparse.c
1192
log_assert(found->rr_first && found->rr_last);
usr.sbin/unbound/util/data/msgparse.c
1276
log_assert(LDNS_QDCOUNT(sldns_buffer_begin(pkt)) == 1);
usr.sbin/unbound/util/data/msgparse.c
310
default: log_assert(0);
usr.sbin/unbound/util/data/msgparse.c
322
default: log_assert(0);
usr.sbin/unbound/util/data/msgparse.c
334
log_assert( rrset->type == LDNS_RR_TYPE_RRSIG );
usr.sbin/unbound/util/data/msgparse.c
402
log_assert( sigset->type == LDNS_RR_TYPE_RRSIG );
usr.sbin/unbound/util/data/msgparse.c
403
log_assert( datatype != LDNS_RR_TYPE_RRSIG );
usr.sbin/unbound/util/data/msgparse.c
415
default: log_assert(0);
usr.sbin/unbound/util/data/msgparse.c
590
log_assert(msg->qdcount == 1);
usr.sbin/unbound/util/data/msgparse.c
630
log_assert(0); /* add type above */
usr.sbin/unbound/util/data/msgreply.c
1392
log_assert(p && q);
usr.sbin/unbound/util/data/msgreply.c
181
log_assert(rep->ttl < timenow);
usr.sbin/unbound/util/data/msgreply.c
193
log_assert(rep->ttl < timenow);
usr.sbin/unbound/util/data/msgreply.c
325
log_assert(len <= pkt_len);
usr.sbin/unbound/util/data/msgreply.c
502
log_assert(rep);
usr.sbin/unbound/util/data/msgreply.c
521
log_assert(rep->serve_expired_norec_ttl == 0);
usr.sbin/unbound/util/data/msgreply.c
530
log_assert(pkt && msg);
usr.sbin/unbound/util/data/msgreply.c
606
log_assert(rep->serve_expired_norec_ttl == 0);
usr.sbin/unbound/util/data/msgreply.c
664
log_assert( (x) == (y) );
usr.sbin/unbound/util/data/msgreply.c
676
log_assert(msg1->qname_len == msg2->qname_len);
usr.sbin/unbound/util/data/packed_rrset.c
281
log_assert(dest_len > 0 && dest);
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
1969
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
2238
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
2297
log_assert(conn->key.dcidlen <= NGTCP2_MAX_CIDLEN);
usr.sbin/unbound/util/netevent.c
2530
log_assert(c->type == comm_doq);
usr.sbin/unbound/util/netevent.c
2532
log_assert(c && c->doq_socket->pkt_buf && c->fd == fd);
usr.sbin/unbound/util/netevent.c
2621
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
2622
log_assert(sldns_buffer_remaining(c->doq_socket->pkt_buf) > 0);
usr.sbin/unbound/util/netevent.c
2827
log_assert(c->doq_socket);
usr.sbin/unbound/util/netevent.c
2871
log_assert(repinfo->c->type == comm_doq);
usr.sbin/unbound/util/netevent.c
2902
log_assert(repinfo->c->type == comm_doq);
usr.sbin/unbound/util/netevent.c
2931
log_assert(c->type == comm_tcp || c->type == comm_http);
usr.sbin/unbound/util/netevent.c
2932
log_assert(c->fd == -1);
usr.sbin/unbound/util/netevent.c
3137
log_assert(h2_session->callbacks);
usr.sbin/unbound/util/netevent.c
3208
log_assert(c->type == comm_tcp_accept);
usr.sbin/unbound/util/netevent.c
3223
log_assert(c_hdl->is_in_tcp_free);
usr.sbin/unbound/util/netevent.c
3268
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
3300
log_assert(c_hdl == c->tcp_free);
usr.sbin/unbound/util/netevent.c
3301
log_assert(c_hdl->is_in_tcp_free);
usr.sbin/unbound/util/netevent.c
3318
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
3329
log_assert(c->tcp_free == NULL);
usr.sbin/unbound/util/netevent.c
3330
log_assert(c->tcp_parent->cur_tcp_count > 0);
usr.sbin/unbound/util/netevent.c
3351
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
3381
log_assert(c->type == comm_tcp || c->type == comm_local);
usr.sbin/unbound/util/netevent.c
3935
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
3936
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
4016
log_assert(c->type == comm_tcp || c->type == comm_local);
usr.sbin/unbound/util/netevent.c
4022
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
405
log_assert(addr && addrlen > 0);
usr.sbin/unbound/util/netevent.c
4262
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
4270
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
4339
log_assert(iov[0].iov_len > 0);
usr.sbin/unbound/util/netevent.c
4432
log_assert(iov[0].iov_len > 0);
usr.sbin/unbound/util/netevent.c
4499
log_assert(c->tcp_write_and_read || sldns_buffer_remaining(buffer) > 0);
usr.sbin/unbound/util/netevent.c
4500
log_assert(!c->tcp_write_and_read || c->tcp_write_byte_count < c->tcp_write_pkt_len + 2);
usr.sbin/unbound/util/netevent.c
4621
log_assert(c->type == comm_tcp);
usr.sbin/unbound/util/netevent.c
4711
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
4722
log_assert(c->tcp_free == NULL);
usr.sbin/unbound/util/netevent.c
4723
log_assert(c->tcp_parent->cur_tcp_count > 0);
usr.sbin/unbound/util/netevent.c
4741
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
4783
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
5162
log_assert(h2_session->c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5163
log_assert(h2_session->c->h2_session);
usr.sbin/unbound/util/netevent.c
5247
log_assert(c->h2_session);
usr.sbin/unbound/util/netevent.c
5284
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5285
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
5430
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
5470
log_assert(sldns_buffer_remaining(c->buffer) > 0);
usr.sbin/unbound/util/netevent.c
5499
log_assert(h2_session->c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5500
log_assert(h2_session->c->h2_session);
usr.sbin/unbound/util/netevent.c
5581
log_assert(c->h2_session);
usr.sbin/unbound/util/netevent.c
5612
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5613
log_assert(fd != -1);
usr.sbin/unbound/util/netevent.c
5674
log_assert(c->type == comm_http);
usr.sbin/unbound/util/netevent.c
5717
log_assert(c->type == comm_local);
usr.sbin/unbound/util/netevent.c
5736
log_assert(c->type == comm_raw);
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
6667
log_assert(repinfo && repinfo->c);
usr.sbin/unbound/util/netevent.c
6756
log_assert(repinfo->c);
usr.sbin/unbound/util/netevent.c
6757
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
6936
log_assert(tv);
usr.sbin/unbound/util/netevent.c
699
log_assert(msg.msg_controllen <= sizeof(control.buf));
usr.sbin/unbound/util/netevent.c
7020
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
1403
log_assert(!topname || dname_subdomain_c(qinfo->qname, topname));
usr.sbin/unbound/validator/val_neg.c
201
log_assert(z->in_use);
usr.sbin/unbound/validator/val_neg.c
202
log_assert(z->count > 0);
usr.sbin/unbound/validator/val_neg.c
208
log_assert(p->count > 0);
usr.sbin/unbound/validator/val_neg.c
232
log_assert(el->in_use);
usr.sbin/unbound/validator/val_neg.c
233
log_assert(el->count > 0);
usr.sbin/unbound/validator/val_neg.c
238
log_assert(neg->first != el && neg->last != el);
usr.sbin/unbound/validator/val_neg.c
243
log_assert(p->count > 0);
usr.sbin/unbound/validator/val_neg.c
335
log_assert(len > 1); /* not root label */
usr.sbin/unbound/validator/val_neg.c
354
log_assert(len > 1); /* not root label */
usr.sbin/unbound/validator/val_neg.c
543
log_assert(!parent || parent->count > 0);
usr.sbin/unbound/validator/val_neg.c
770
log_assert(parent->count > 0);
usr.sbin/unbound/validator/val_neg.c
777
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
1148
log_assert(ce.ce);
usr.sbin/unbound/validator/val_nsec3.c
1297
log_assert(ce.ce);
usr.sbin/unbound/validator/val_nsec3.c
1354
log_assert(ce.nc_rrset);
usr.sbin/unbound/validator/val_nsec3.c
139
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
1490
log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
usr.sbin/unbound/validator/val_nsec3.c
150
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
1572
log_assert(ce.nc_rrset);
usr.sbin/unbound/validator/val_nsec3.c
162
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
174
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
191
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
206
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
241
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
302
log_assert(d && r < (int)d->count);
usr.sbin/unbound/validator/val_nsec3.c
469
log_assert(ve->nsec3_keyiter_count > 0);
usr.sbin/unbound/validator/val_nsec3.c
697
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
1082
log_assert(index < rep->rrset_count);
usr.sbin/unbound/validator/val_utils.c
1083
log_assert(index >= rep->an_numrrsets);
usr.sbin/unbound/validator/val_utils.c
1084
log_assert(index < rep->an_numrrsets+rep->ns_numrrsets);
usr.sbin/unbound/validator/validator.c
2008
log_assert(vq->key_entry && !key_entry_isbad(vq->key_entry));
usr.sbin/unbound/validator/validator.c
2066
log_assert(strip_lab >= -1);
usr.sbin/unbound/validator/validator.c
336
log_assert(!qstate->minfo[id]);