Calling std::move() on command while dereferencing GetName() is undefined.
Details
Details
- Reviewers
deadalnix Fabien - Group Reviewers
Restricted Project - Commits
- rSTAGINGed234bd3bb18: Fix undefined behavior in rpc/server.cpp
rABCed234bd3bb18: Fix undefined behavior in rpc/server.cpp
ninja check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/rpc/server.cpp | ||
---|---|---|
71 ↗ | (On Diff #7547) | You are introducing a copy here for no good reason. |