]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: Update CB_ObjectOperation_decodevals and CB_ObjectOperation_decodekeys to persi... 64956/head
authorEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Thu, 7 Aug 2025 15:48:38 +0000 (11:48 -0400)
committerEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Wed, 17 Sep 2025 11:54:27 +0000 (07:54 -0400)
commitf5ea624c0c5eb88a2ac2cb1254e8b9014923c05a
tree6e0bcac9470c6f8514d102130f97d106706341ca
parentbafdbd6dcab322cf9a20ab38e7e1a0c98191b28c
osdc: Update CB_ObjectOperation_decodevals and CB_ObjectOperation_decodekeys to persist temp val

The callback object would create a local variable then save the address of the
local variable in the object which will later be referenced. This leads
to access stack memory that is no longer in scope,
possibly not even in the same thread.

Fixes: https://tracker.ceph.com/issues/72403
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
src/osdc/Objecter.h