You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for the wonderful library. I am using it for a http client. However, I see clang-analyzer report the following issue.
boost version: 1.82.0
clang-version: 9.0.0
scan-build: Using '/usr/local/bin/clang-9' for static analysis
The C compiler identification is Clang 9.0.0
The CXX compiler identification is Clang 9.0.0
File name: include/boost/asio/execution/any_executor.hpp
Line number: 1931
Code snippet:
Access to field 'target' results in a dereference of a null pointer (loaded from field 'object_fns_')
Warning emitted during the build itself:
In file included from include/boost/asio.hpp:20:
In file included from include/boost/asio/any_completion_executor.hpp:22:
In file included from include/boost/asio/execution.hpp:19:
include/boost/asio/execution/any_executor.hpp:1931:43: warning: Access to field 'target' results in a dereference of a null pointer (loaded from field 'object_fns_')
return prop_fns_[found::index].prefer(object_fns_->target(*this),
^~~~~~~~~~~~~~~~~~~
1 warning generated.
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for the wonderful library. I am using it for a http client. However, I see clang-analyzer report the following issue.
boost version: 1.82.0
clang-version: 9.0.0
File name: include/boost/asio/execution/any_executor.hpp
Line number: 1931
Code snippet:
Exact error reported in scan report:
Warning emitted during the build itself:
The text was updated successfully, but these errors were encountered: