Actions
Bug #59641
closed
MB
MB
managed_lock/GetLockerRequest: fix empty address check
Bug #59641:
managed_lock/GetLockerRequest: fix empty address check
Due date:
% Done:
0%
Source:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
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.
```
MB Updated by Matan Breizman over 3 years ago
- Priority changed from Normal to Low
ID Updated by Ilya Dryomov over 3 years ago
- Assignee set to Matan Breizman
- Backport set to pacific,quincy
ID Updated by Ilya Dryomov over 3 years ago
- Status changed from Fix Under Review to Pending Backport
UB Updated by Upkeep Bot over 3 years ago
- Copied to Backport #61196: quincy: managed_lock/GetLockerRequest: fix empty address check added
UB Updated by Upkeep Bot over 3 years ago
- Copied to Backport #61197: pacific: managed_lock/GetLockerRequest: fix empty address check added
MB Updated by Matan Breizman over 3 years ago
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot over 1 year ago
- 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