Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
isaac.lambatisaac.lambatReporter
Adam FraserAdam FraserStory Points
5Components
Sprint
NoneFix versions
Priority
MajorInstabug
Open Instabug
Details
Details
Assignee
isaac.lambat
isaac.lambatReporter
Adam Fraser
Adam FraserStory Points
5
Components
Sprint
None
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created July 19, 2021 at 9:48 PM
Updated November 1, 2021 at 3:01 PM
Resolved November 1, 2021 at 3:01 PM
In 2.8.0, GetDeepMutableBody logs a warning and returns nil if it's passed malformed JSON. If callers aren't checking for this case, subsequent code may panic on a nil Body.
There's been at least one reported case of this, but it's unclear whether the GetDeepMutableBody invocation is the one in documentUpdateFunc or resolveConflict.
Both should be tested with malformed JSON. In the case of documentUpdateFunc, the rev should be rejected, instead of a panic being caught by the recover in blip_sync_context. For conflict resolver, should return as resolveError.