boostorg / boostorg/asio

Double std::move() in promise.

Open
#414 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.6k
Forks
485
PR merge metrics
No merged PRs in 30d

Description

Please check the following block:

https://github.com/boostorg/asio/blob/1fa30958e51a4b540b9e95256c4a2c3fc4134c65/include/boost/asio/experimental/impl/promise.hpp#L228

After this std::move(), the completion handler is called with invalid args (line 232).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.