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

Correct length check in 'decode_message()' #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dlemenkov
Copy link

@dlemenkov dlemenkov commented Oct 21, 2018

This is need to correct decoding several messages placed
in common buffer (for example, ones read from common response).

Un-read 'len' if message is shortter than read buffer.

Fix using uninitialized variable 'keytype'
instead of correct value type 'valtype'.
dlemenkov pushed a commit to dlemenkov/connection-scribe that referenced this pull request Oct 21, 2018
Change source of the module to forked repository.
This rockspec modification is temporary.
Remove it as soon as the pool request moonlibs#1
(moonlibs#1)
was accepted or better solution was implemented.
This is need to correct decoding several messages placed
in common buffer (for example, ones read from common response).

Un-read 'len' if message is shortter than read buffer.
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.

1 participant