Bug #46985
closed
common: validate type CephBool cause 'invalid command json'
Added by Yanhu Cao almost 4 years ago.
Updated about 3 years ago.
Backport:
octopus,nautilus
Description
while (!validate_cmd(m_cct, p->second.desc, cmdmap, errss)) {
++p;
if (p->first != prefix) {
delete f;
return on_finish(-EINVAL, "invalid command json", empty);
}
}
don't need to check prefix in while loop because previous already done.
- Project changed from Ceph to CephFS
- Status changed from New to Fix Under Review
- Pull request ID set to 36459
- Assignee set to Yanhu Cao
- Target version set to v16.0.0
- Source set to Community (dev)
- Backport set to octopus,nautilus
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #47085: octopus: common: validate type CephBool cause 'invalid command json' added
- Copied to Backport #47086: nautilus: common: validate type CephBool cause 'invalid command json' added
- Related to Bug #47179: AdminSocket::do_accept() terminate called after throwing an instance of 'std::out_of_range' added
This change causes the failure seen in #47179. Could we either revert it or modify it so it reinstates the old behaviour?
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Also available in: Atom
PDF