HomePhabricator

Fix undefined behavior in rpc/server.cpp

Description

Fix undefined behavior in rpc/server.cpp

Summary: Calling std::move() on command while dereferencing GetName() is undefined.

Test Plan: ninja check

Reviewers: deadalnix, Fabien, #bitcoin_abc

Reviewed By: deadalnix, Fabien, #bitcoin_abc

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2632

Details

Provenance
jasonbcoxAuthored on Mar 1 2019, 22:14
jasonbcoxPushed on Mar 2 2019, 01:32
Reviewer
Restricted Project
Differential Revision
D2632: Fix undefined behavior in rpc/server.cpp
Parents
rABCf9c866be05a6: Fix a bug in ibd.sh where multiple args provided to the script would not be…
Branches
Unknown
Tags
Unknown