iotssl_log_errors() should check if still safe to invoke logger

Description

The IO callbacks might be called, when IO context has been closed already. This issue is related to https://couchbasecloud.atlassian.net/browse/CCBC-1568#icft=CCBC-1568, while it fixed the problem in many places, iotssl_log_errors still does not do the NULL check.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot March 28, 2024 at 5:46 AM

Build couchbase-server-7.2.5-7575 contains libcouchbase commit b6a6c0f with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1603#icft=CCBC-1603: do not log if logger is not accessible in iotssl_log_errors

CB robot December 19, 2023 at 1:39 AM

Build couchbase-server-7.1.6-3969 contains libcouchbase commit b6a6c0f with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1603#icft=CCBC-1603: do not log if logger is not accessible in iotssl_log_errors

CB robot August 31, 2023 at 8:45 AM

Build capella-analytics-1.0.0-1006 contains libcouchbase commit b6a6c0f with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1603#icft=CCBC-1603: do not log if logger is not accessible in iotssl_log_errors

CB robot August 31, 2023 at 7:35 AM

Build couchbase-server-7.6.0-1438 contains libcouchbase commit b6a6c0f with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1603#icft=CCBC-1603: do not log if logger is not accessible in iotssl_log_errors

CB robot August 23, 2023 at 3:01 PM

Build couchbase-server-8.0.0-1384 contains libcouchbase commit b6a6c0f with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1603#icft=CCBC-1603: do not log if logger is not accessible in iotssl_log_errors

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Sprint

Story Points

Components

Reporter

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 26, 2023 at 5:28 PM
Updated March 28, 2024 at 5:46 AM
Resolved August 11, 2023 at 4:01 PM
Instabug