Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBG-2973: Fix panic for assigning to nil map inside Mutable1xBody #6252

Merged
merged 2 commits into from
May 17, 2023

Conversation

gregns1
Copy link
Contributor

@gregns1 gregns1 commented May 17, 2023

CBG-2973

Small PR to fix a panic hit by a customer where they have null doc bodies and we try assign to a nil map as a result.

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

db/revision_cache_interface.go Outdated Show resolved Hide resolved
@bbrks bbrks merged commit 044bf5b into master May 17, 2023
@bbrks bbrks deleted the CBG-2973 branch May 17, 2023 13:25
torcolvin added a commit that referenced this pull request May 23, 2023
torcolvin added a commit that referenced this pull request Jun 1, 2023
torcolvin added a commit that referenced this pull request Jun 2, 2023
bbrks pushed a commit that referenced this pull request Sep 19, 2023
…Body (#6428)

Fix panic for assigning to nil map inside Mutable1xBody (#6252)
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