Project

General

Profile

Actions

Bug #63318

closed

OSD: use-after-move in PrimaryLogPG::do_sparse_read()

Added by Ronen Friedman 7 months ago. Updated 5 months ago.


Description

'm' is moved-from when calling pgbackend->objects_readv_sync(), but
accessed again (to be re-encoded) later.

Actions #2

Updated by Patrick Donnelly 7 months ago

  • Is duplicate of Bug #62081: tasks/fscrypt-common does not finish, timesout added
Actions #3

Updated by Ronen Friedman 7 months ago

  • Status changed from New to Duplicate
Actions #4

Updated by Xiubo Li 7 months ago

  • Status changed from Duplicate to Fix Under Review
  • Pull request ID set to 54047
Actions #5

Updated by Xiubo Li 7 months ago

  • Assignee set to Xiubo Li
Actions #6

Updated by Ilya Dryomov 7 months ago

  • Is duplicate of deleted (Bug #62081: tasks/fscrypt-common does not finish, timesout)
Actions #7

Updated by Ilya Dryomov 7 months ago

Ronen Friedman wrote:

'm' is moved-from when calling pgbackend->objects_readv_sync(), but
accessed again (to be re-encoded) later.

Note that in this case it's not a bug -- just unnecessary use of rvalue references and std::move(). Xiubo cleaned that up.

Actions #8

Updated by Ilya Dryomov 5 months ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF