2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Add code to clear the pointer to an object in an OMAPI handle when the

object is freed due to a dereference.  [ISC-Bugs #21306]
This commit is contained in:
Shawn Routhier
2010-09-07 22:59:23 +00:00
parent f07d0fb5bc
commit 4a5098e93f
4 changed files with 56 additions and 27 deletions

View File

@@ -3,7 +3,8 @@
Private master include file for the OMAPI library. */
/*
* Copyright (c) 2004,2007,2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -281,6 +282,8 @@ void omapi_connection_register (omapi_connection_object_t *,
OMAPI_ARRAY_TYPE_DECL(omapi_listener, omapi_listener_object_t);
OMAPI_ARRAY_TYPE_DECL(omapi_connection, omapi_connection_object_t);
isc_result_t omapi_handle_clear(omapi_handle_t);
extern int log_priority;
extern int log_perror;
extern void (*log_cleanup) (void);