Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

CRITICAL: decode.decode never resets expiry and propagates it to keys that shouldn't have it! #3

Open
justonia opened this issue Dec 7, 2015 · 0 comments

Comments

@justonia
Copy link

justonia commented Dec 7, 2015

In the decoder's decode method, once a key is read that has an expiry that expiry will be provided to every single object read afterwards. For someone trying to restore a Redis DB from the RDB file, this would be a Bad Thing. I will make a PR ASAP as the fix is easy.

justonia pushed a commit to justonia/rdb that referenced this issue Dec 7, 2015
titanous added a commit that referenced this issue Dec 7, 2015
Fix issue #3 where key expiry is incorrectly propagated to keys without expiry
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant