]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: Refactor CORS configuration handling for S3 to improve clarity and efficiency 64963/head
authorEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Thu, 7 Aug 2025 15:29:00 +0000 (11:29 -0400)
committerEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Mon, 25 Aug 2025 17:20:08 +0000 (13:20 -0400)
commitea4a52dd46a316460d47ac8910bcc9a272842e5b
treea5ab423a3ceabc64838bf5b3308e3e11fdc0d6bf
parentfb8387ae16dc4c4f7ece339ce6b3fd7be3883317
test: Refactor CORS configuration handling for S3 to improve clarity and efficiency

A pointer to RGWCORSConfiguration is cast to RGWCORSConfiguration_S3 which leads to
out of bounds access. Replace the pointer ref with the proper data structure

Fixes: https://tracker.ceph.com/issues/72452
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
src/test/test_cors.cc