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
- Branch
- arcpatch-D2632
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5121 Build 8305: Bitcoin ABC Buildbot (legacy) Build 8304: arc lint + arc unit
Event Timeline
src/rpc/server.cpp | ||
---|---|---|
71 ↗ | (On Diff #7547) | You are introducing a copy here for no good reason. |