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

[Chrome IndexedDB] Fix EOF while reading header #1819

Merged
merged 4 commits into from
Aug 1, 2024

Conversation

RebeccaMahany
Copy link
Contributor

Figured out the issue, which is that the indexeddb values start with a varint indicating indexeddb version before the serialized value begins. So, now we read that and then proceed to read the serialized value, beginning with its header.

I validated this fix against the same data I used to test #1814.

@RebeccaMahany RebeccaMahany enabled auto-merge August 1, 2024 20:03
@RebeccaMahany RebeccaMahany added the bug-fixes Bug Fixes label Aug 1, 2024
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Aug 1, 2024
Merged via the queue into kolide:main with commit 5250ebe Aug 1, 2024
29 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/eof-reading-header branch August 1, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fixes Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants