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

[KATC] Do not allow indexeddb row data to be overwritten #1785

Merged

Conversation

RebeccaMahany
Copy link
Contributor

Fixes an issue where we failed to deserialize data because it had an unexpected format. The underlying cause appears to be that we were continuously overwriting data in the results by setting data equal to iter.Value(). I am not totally sure why this issue only appeared on three out of ~25+ test devices, but I can confirm that this fixes the issue because my test device was luckily one of the ones affected. 😅

I also added a little more info to error messages to improve troubleshooting ability.

Copy link
Contributor

@zackattack01 zackattack01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find!

@RebeccaMahany RebeccaMahany added this pull request to the merge queue Jul 17, 2024
Merged via the queue into kolide:main with commit 7c5ce6a Jul 17, 2024
29 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/indexeddb-deserialize-ascii-fix branch July 17, 2024 21:27
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