strdup causes invalid memory access

Description

The implementation of strdup is not always well-defined in the face of different compiler options. This causes some variants of libcouchbase to have issues with using strdup.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit 4cfcbe7 with commit message:
https://couchbasecloud.atlassian.net/browse/CCBC-1451#icft=CCBC-1451: fix strdup usage

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

Details

Assignee

Fix versions

Sprint

Story Points

Components

Reporter

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 18, 2021 at 4:51 PM
Updated October 8, 2021 at 8:26 AM
Resolved August 18, 2021 at 8:11 PM
Instabug