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

Fix off-by-one error in Beast-format input. #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 22, 2015

  1. Fix off-by-one error in Beast-format input.

    This would mangle messages if the first byte of a message ended up
    as the last byte returned by a read() call - it would read beyond
    the end of the buffer, decide the message was damaged, and then run
    off into the message data looking for a new delimiter. Sometimes
    that would work (only dropping one message), but sometimes it would
    run into data that happened to look like a message start but
    actually wasn't, and then try to interpret that, leading to completely
    bogus message data being read.
    
    (cherry picked from commit e7d7fd5)
    mutability committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    cf958f6 View commit details
    Browse the repository at this point in the history