Skip to content

Conversation

@tanderson-ld
Copy link
Contributor

After examining related code to a customer support case and #278, noticed this modification during iteration. Theoretical issue is that modification during iteration, even if not resulting in ConcurrentModificationExceptions, could result in unpredictable iteration and could possibly skip sanitizing certain incoming flags.

Through bench testing and instrumentation testing, I was unable to reproduce the issue, but I suspect it may be dependent on the specific platform's implementation of the Map type that GSON will depend on. Will deploy this fix and work with customers to confirm if the occurrences of the issue is eliminated.

…itization of an incoming message from LD servers
@tanderson-ld tanderson-ld requested a review from a team as a code owner January 21, 2025 16:14
@tanderson-ld tanderson-ld merged commit 9969148 into main Jan 21, 2025
2 checks passed
@tanderson-ld tanderson-ld deleted the ta/sdk-1040/concurrent-modification-fix branch January 21, 2025 16:30
tanderson-ld pushed a commit that referenced this pull request Jan 21, 2025
🤖 I have created a release *beep* *boop*
---


##
[5.6.1](5.6.0...5.6.1)
(2025-01-21)


### Bug Fixes

* correcting protocol parsing logic that may lead to incorrect
sanitization of an incoming message from LD servers
([#288](#288))
([9969148](9969148))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants