[
https://issues.apache.org/jira/browse/TS-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Jackson updated TS-4272:
-------------------------------
Description:
std::map is creating an entry, and we are setting a subset of values. Since we
were not clearing the memory that we got, we end up with some non-initialized
structure fields-- meaning the HostDBInfo object we return is corrupt.
Found during investigation of TS-4207
was:std::map is creating an entry, and we are setting a subset of values.
Since we were not clearing the memory that we got, we end up with some
non-initialized structure fields-- meaning the HostDBInfo object we return is
corrupt.
> HostDB not clearning HostDBInfos for hosts file entries
> -------------------------------------------------------
>
> Key: TS-4272
> URL: https://issues.apache.org/jira/browse/TS-4272
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Thomas Jackson
> Assignee: Thomas Jackson
>
> std::map is creating an entry, and we are setting a subset of values. Since
> we were not clearing the memory that we got, we end up with some
> non-initialized structure fields-- meaning the HostDBInfo object we return is
> corrupt.
> Found during investigation of TS-4207
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)