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

Incorrect base pointer after sync operation #92

Open
atlantisjk opened this issue May 2, 2019 · 0 comments
Open

Incorrect base pointer after sync operation #92

atlantisjk opened this issue May 2, 2019 · 0 comments

Comments

@atlantisjk
Copy link

In the else condition of indirect_streambuf::sync_impl(), pbase is not correctly set if data has been left in the out buffer during previous sync operations. I suggest to use setp(pbase() + amt, out().end()); instead.

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

No branches or pull requests

1 participant