Skip to content
Snippets Groups Projects
Commit ed7b3c77 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Fixed invalid read in debug code.

parent 39158bbd
No related branches found
No related tags found
No related merge requests found
......@@ -1384,6 +1384,9 @@ dbg_xfrin_exec_detail(
// try to find the first RDATA in the given list
for (int i = 0; i < *count; ++i) {
knot_rdata_t *r = rdatas[i];
if (r == NULL) {
continue;
}
while (r->next != rdatas[i]) {
if (r == rdata) {
dbg_xfrin_detail("Found same RDATA: %p\n", rdata);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment