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

The save process can corrupt documents #228

Closed
gtache opened this issue Sep 29, 2022 · 0 comments · Fixed by #229
Closed

The save process can corrupt documents #228

gtache opened this issue Sep 29, 2022 · 0 comments · Fixed by #229

Comments

@gtache
Copy link
Contributor

gtache commented Sep 29, 2022

The save process (Document#writeToOutputStream) is not guarded by a lock. Therefore, if an other thread accesses the input stream while the save is in progress, the resulting document will be corrupted.

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 a pull request may close this issue.

1 participant