Skip to content

Prevent buffer overflow in Value::getStringBytes#171

Merged
snej merged 1 commit intocouchbase:masterfrom
blaugold:fix/getStringBytes-buffer-overflow
Jul 19, 2023
Merged

Prevent buffer overflow in Value::getStringBytes#171
snej merged 1 commit intocouchbase:masterfrom
blaugold:fix/getStringBytes-buffer-overflow

Conversation

@blaugold
Copy link
Contributor

@blaugold blaugold commented Nov 6, 2022

Invalid Fleece data can cause a buffer overflow in Value::getStringBytes. Value::validate currently does not catch this.

NB: This was discovered through fuzzing (#166).

@snej snej merged commit 28baa5b into couchbase:master Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments