Files
bind9/lib/dns
Matthijs Mekking ad33a73f83 Fix Coverity CID 487882: Error handling issues
The dns_qpiter_next() was called without checking the return value. If
we cannot move the iterator forward, there is no use in calling the
step() function.

/lib/dns/qpzone.c: 2804 in activeempty()
2798     	 * of the name we were searching for. Step the iterator
2799     	 * forward, then step() will continue forward until it
2800     	 * finds a node with active data. If that node is a
2801     	 * subdomain of the one we were looking for, then we're
2802     	 * at an active empty nonterminal node.
2803     	 */
>>>     CID 487882:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "dns_qpiter_next" without checking return value (as is done elsewhere 26 out of 27 times).
2804     	dns_qpiter_next(it, NULL, NULL, NULL);
2805     	return (step(search, it, FORWARD, next) &&
2806     		dns_name_issubdomain(next, current));
2807     }
2024-03-14 14:01:23 +01:00
..
2024-02-26 12:02:40 +11:00
2023-10-13 14:44:40 +02:00
2024-03-08 15:36:56 -08:00
2023-09-12 16:14:10 +02:00
2024-02-14 13:24:56 +01:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2024-01-25 15:37:40 +01:00
2024-02-14 13:24:56 +01:00
2023-08-09 23:48:17 +00:00
2024-02-08 08:01:58 +01:00
2024-03-13 10:58:24 +01:00
2024-03-08 15:36:56 -08:00
2024-02-14 13:24:56 +01:00
2023-09-12 16:14:10 +02:00
2023-10-13 09:57:28 +00:00
2024-03-08 15:36:56 -08:00
2024-03-08 15:36:56 -08:00
2024-03-06 09:57:24 +01:00
2024-03-13 17:15:18 -07:00
2023-08-31 22:08:35 +02:00
2023-10-09 13:29:02 -07:00
2023-08-31 22:08:35 +02:00
2023-10-13 14:44:40 +02:00
2023-11-21 14:48:43 +11:00
2024-01-05 11:16:12 +01:00
2024-01-25 14:48:07 +01:00