406.   [bug]           Log messages were occasionally lost or corrupted
                        due to a race condition in isc_log_doit().
This commit is contained in:
Brian Wellington
2000-08-25 01:13:33 +00:00
parent b7b1281932
commit ed1af78070
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
406. [bug] Log messages were occasionally lost or corrupted
due to a race condition in isc_log_doit().
404. [bug] The request library didn't completely work with IPv6.
--- 9.0.0rc4 released ---

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: log.c,v 1.38.2.1 2000/08/22 01:45:24 bwelling Exp $ */
/* $Id: log.c,v 1.38.2.2 2000/08/25 01:13:33 bwelling Exp $ */
/* Principal Authors: DCL */
@@ -1264,10 +1264,11 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
time_string[0] = '\0';
level_string[0] = '\0';
lctx->buffer[0] = '\0';
LOCK(&lctx->lock);
lctx->buffer[0] = '\0';
lcfg = lctx->logconfig;
category_channels = ISC_LIST_HEAD(lcfg->channellists[category->id]);