Actions
Bug #26937
closedentity_addr_t::parse does memset() on non-POD
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
bool entity_addr_t::parse(const char *s, const char **end)
{
memset(this, 0, sizeof(*this));
// ...
}
Updated by Greg Farnum over 5 years ago
entity_addr_t is two __u32 ints and a union of sockaddr, sockaddr_in, and sockadddr_in6.
I believe those all qualify as PODs?
Updated by Kefu Chai over 5 years ago
- Status changed from New to Resolved
Updated by Greg Farnum about 5 years ago
- Project changed from Ceph to Messengers
- Category deleted (
msgr)
Actions