Bug 2412218

Summary: RGW crash observed during copy-object ops with copy-source being empty
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Chaithra <ckulal>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: VERIFIED --- QA Contact: Chaithra <ckulal>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 9.0CC: cbodley, ceph-eng-bugs, cephqe-warriors, mbenjamin, rpollack, tserlin
Target Milestone: ---Keywords: Automation
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-20.1.0-77 Doc Type: Bug Fix
Doc Text:
.Empty string in the `HTTP_X_AMZ_COPY_SOURCE` header no longer causes crashing Previously, the `HTTP_X_AMZ_COPY_SOURCE` header could have an empty string output, rather than `NULL`. When the empty string was passed to `RGWCopyObj::parse_copy_location()` the empty name would cause a crash. With this fix, a check is in place that the header contains a valid string.
Story Points: ---
Clone Of: 2390980
: 2412237 (view as bug list) Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2390980    
Bug Blocks: 2388233, 2412237    

Description Chaithra 2025-11-04 07:53:20 UTC
+++ This bug was initially created as a clone of Bug #2390980 +++