GitHub user jacksontj opened a pull request:
https://github.com/apache/trafficserver/pull/523
Potential Fix for TS-4207
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jacksontj/trafficserver master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/523.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #523
----
commit 21599f889ff8716675cbe0a40b62268afeddfaed
Author: Thomas Jackson <[email protected]>
Date: 2016-03-12T00:12:05Z
Potential Fix for TS-4207
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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---