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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed RNG generating null-bytes in metadata; causing read errors. #15

Merged
merged 1 commit into from
Dec 19, 2018

Conversation

h5p9sl
Copy link
Contributor

@h5p9sl h5p9sl commented Dec 19, 2018

Pull Request Information

Summary

  • Fixed RNGCryptoService.GetNonZeroBytes() sometimes returning null bytes (for whatever reason)

Changes and Descriptions

This bug fix simply ensures that RNGCryptoService.GetNonZeroBytes() never generates a null byte (which corrupts the file metadata).
I assume that's what was causing issue #14, it seemed to stop after I made these changes so I think I may have fixed it 馃槢

Please review my changes and make sure the bug is fixed 馃槃

Cheers!

-- h5p9sl

@Sigmanor
Copy link
Member

Wow it was fast, thank you 馃榿 I will test it soon.

@Sigmanor Sigmanor changed the base branch from master to dev December 19, 2018 22:53
@Sigmanor Sigmanor merged commit 2684992 into Crypto-Notepad:dev Dec 19, 2018
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.

None yet

2 participants