Project

General

Profile

Actions

Bug #75540

closed
MB MB

rgw_file: a std::string_view pointing to a current common_prefix can be used uninitialized

Bug #75540: rgw_file: a std::string_view pointing to a current common_prefix can be used uninitialized

Added by Matt Benjamin 9 months ago. Updated 29 days ago.

Status:
Backporting
Priority:
High
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-692-g9c45634368
Released In:
v21.2.0~731
Upkeep Timestamp:
2026-11-04T01:09:50+00:00

Description

The logic to skip "/" as a common prefix skips initialization of a member variable in this case. This probably happened constantly, we are seeing it only now, in a listing with nested directory objects.


Related issues 1 (1 open — 0 closed)

Copied to rgw - Backport #76117: tentacle: rgw_file: a std::string_view pointing to a current common_prefix can be used uninitializedNewMatt Benjamin

Actions

MB Updated by Matt Benjamin 9 months ago Actions #1

Ideally, the namespace unit test would trap this, I will work on a programmatic reproducer.

Matt

MB Updated by Matt Benjamin 9 months ago Actions #2

  • Pull request ID set to 67828

MH Updated by Matthew Heler 9 months ago Actions #3

  • Copied to Bug #75569: rgw: crash in STSService::assumeRole() when admin/system user triggers permission override added

MH Updated by Matthew Heler 9 months ago Actions #4

  • Private changed from No to Yes

MH Updated by Matthew Heler 9 months ago Actions #5

  • Private changed from Yes to No
  • Pull request ID deleted (67828)

MB Updated by Matt Benjamin 9 months ago Actions #6

  • Pull request ID set to 67828

MH Updated by Matthew Heler 9 months ago Actions #7

  • Copied to deleted (Bug #75569: rgw: crash in STSService::assumeRole() when admin/system user triggers permission override)

MB Updated by Matt Benjamin 8 months ago Actions #8

  • Status changed from In Progress to Fix Under Review

UB Updated by Upkeep Bot 8 months ago Actions #9

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 9c45634368741912fcef19bcd0624519b6f59733
  • Fixed In set to v21.0.0-692-g9c45634368
  • Upkeep Timestamp set to 2026-04-20T09:54:59+00:00

UB Updated by Upkeep Bot 8 months ago Actions #10

  • Copied to Backport #76117: tentacle: rgw_file: a std::string_view pointing to a current common_prefix can be used uninitialized added

UB Updated by Upkeep Bot 8 months ago Actions #11

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #12

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-04-20T09:54:59+00:00 to 2026-08-27T18:30:01+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #13

  • Released In set to v21.2.0~730
  • Upkeep Timestamp changed from 2026-08-27T18:30:01+00:00 to 2026-10-24T01:16:41+00:00

UB Updated by Upkeep Bot 29 days ago Actions #14

  • Released In changed from v21.2.0~730 to v21.2.0~731
  • Upkeep Timestamp changed from 2026-10-24T01:16:41+00:00 to 2026-11-04T01:09:50+00:00
Actions

Also available in: PDF Atom