Commit ea4a52d
committed
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 <[email protected]>1 parent fb8387a commit ea4a52d
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
344 | 342 | | |
345 | | - | |
346 | | - | |
347 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
348 | 346 | | |
349 | 347 | | |
350 | 348 | | |
| |||
0 commit comments