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 memory initialization of buffer vector. #26

Merged
merged 2 commits into from
Sep 11, 2019

Conversation

JWhitleyWork
Copy link
Contributor

As described by @likun1993630 in astuff/ibeo_lux#16 (comment), the std::vector buffer is not initialized properly before being passed to boost::asio::read. This fixes this error.

@JWhitleyWork JWhitleyWork merged commit d712a21 into master Sep 11, 2019
@JWhitleyWork JWhitleyWork deleted the fix/memory_allocation branch September 11, 2019 15:59
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.

3 participants