Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

fix a buffer overflow #2

Merged
merged 1 commit into from
Feb 28, 2014
Merged

Conversation

cladisch
Copy link
Contributor

Assuming that the compiler places bitbuffer_old just behind bitbuffer, this buffer overflow is mostly harmless. But overwriting the first byte of the old buffer would break the xor-with-old scheme (whatever its purpose may be).

pwarren added a commit that referenced this pull request Feb 28, 2014
@pwarren pwarren merged commit f3e6892 into pwarren:master Feb 28, 2014
@pwarren
Copy link
Owner

pwarren commented Feb 28, 2014

Thanks for this!

The XOR scheme is to spread the entropy through time a little bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants