You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/04/06 22:11:25 UTC
[jira] [Resolved] (TS-4272) HostDB not clearing HostDBInfos for
hosts file entries
[ https://issues.apache.org/jira/browse/TS-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-4272.
-------------------------------
Resolution: Fixed
> HostDB not clearing 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
> Fix For: 6.2.0
>
>
> 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)