Project

General

Profile

Actions

Bug #59641

closed
MB MB

managed_lock/GetLockerRequest: fix empty address check

Bug #59641: managed_lock/GetLockerRequest: fix empty address check

Added by Matan Breizman over 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Low
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-3963-gfb39a952b70
Released In:
v19.2.0~2354
Upkeep Timestamp:
2025-07-12T13:15:23+00:00

Description

```
See:
`m_locker->address = iter->second.addr.get_legacy_str();`

In the case where `iter->second.addr` is an empty address, `m_locker->address` string is assigned with "0)/0" and therefore will never result in an empty string.

Use `is_blank_ip()` before `get_legacy_str()` instead.

```


Related issues 2 (0 open — 2 closed)

Copied to rbd - Backport #61196: quincy: managed_lock/GetLockerRequest: fix empty address checkResolvedIlya Dryomov

Actions
Copied to rbd - Backport #61197: pacific: managed_lock/GetLockerRequest: fix empty address checkResolvedIlya Dryomov

Actions

MB Updated by Matan Breizman over 3 years ago Actions #1

  • Priority changed from Normal to Low

ID Updated by Ilya Dryomov over 3 years ago Actions #2

  • Assignee set to Matan Breizman
  • Backport set to pacific,quincy

ID Updated by Ilya Dryomov over 3 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 3 years ago Actions #4

  • Copied to Backport #61196: quincy: managed_lock/GetLockerRequest: fix empty address check added

UB Updated by Upkeep Bot over 3 years ago Actions #5

  • Copied to Backport #61197: pacific: managed_lock/GetLockerRequest: fix empty address check added

MB Updated by Matan Breizman over 3 years ago Actions #7

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Merge Commit set to fb39a952b70031c74dda05d6abc51be72828aec5
  • Fixed In set to v18.0.0-3963-gfb39a952b70
  • Released In set to v19.2.0~2354
  • Upkeep Timestamp set to 2025-07-12T13:15:23+00:00
Actions

Also available in: PDF Atom