mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
||||
1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken.
|
||||
|
||||
1229. [bug] named would crash if it received a TSIG signed
|
||||
query as part of an AXFR response. [RT #2570]
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: cc.c,v 1.5 2001/11/27 01:56:24 gson Exp $ */
|
||||
/* $Id: cc.c,v 1.6 2002/03/15 04:54:58 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -558,7 +558,7 @@ isccc_cc_isack(isccc_sexpr_t *message)
|
||||
|
||||
_ctrl = isccc_alist_lookup(message, "_ctrl");
|
||||
if (_ctrl == NULL)
|
||||
return (ISC_R_FAILURE);
|
||||
return (ISC_FALSE);
|
||||
if (isccc_cc_lookupstring(_ctrl, "_ack", NULL) == ISC_R_SUCCESS)
|
||||
return (ISC_TRUE);
|
||||
return (ISC_FALSE);
|
||||
@@ -571,7 +571,7 @@ isccc_cc_isreply(isccc_sexpr_t *message)
|
||||
|
||||
_ctrl = isccc_alist_lookup(message, "_ctrl");
|
||||
if (_ctrl == NULL)
|
||||
return (ISC_R_FAILURE);
|
||||
return (ISC_FALSE);
|
||||
if (isccc_cc_lookupstring(_ctrl, "_rpl", NULL) == ISC_R_SUCCESS)
|
||||
return (ISC_TRUE);
|
||||
return (ISC_FALSE);
|
||||
|
Reference in New Issue
Block a user