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

File has around a thousand <0x00> appended to the end of nearly intact data #129

Open
Nantris opened this issue Apr 25, 2019 · 1 comment

Comments

@Nantris
Copy link
Contributor

Nantris commented Apr 25, 2019

<0x00> is an invalid character code as I understand it. This is the first time I've witnessed this occur.

It looks like possibly the write was interrupted, as towards the end of my file suddenly JSON ends and the <0x00>s begin. Probably outside the scope of this module, however on the off chance this was caused by this module and not the system, here's an issue for anyone else who sees this to update.

electron-json-storage@4.1.5
Windows 7
JSON File size: ~2.5mb

@jviotti
Copy link
Member

jviotti commented May 10, 2019

Hey @slapbox ,

That is indeed super strange. I did some research and found some interesting things that seem related:

Assuming you can reproduce the problem, it might be worth testing different Electron versions shipping with different Node.js versions.

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

No branches or pull requests

2 participants