GitHub user shinrich opened a pull request:
https://github.com/apache/trafficserver/pull/1092
TS-4948: Adjust code to prevent NULL variable reference.
Attempting to fix a coverity warning by clearing the user_client_addr bool
when the client_addr variable cannot be reset from NULL. The later references
to uses of client_addr are covered by the use_client_addr bool.
Cannot directly run coverity, so not sure this makes the tool happy.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shinrich/trafficserver ts-4948
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1092.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 #1092
----
commit b04ecf7440e53764bbf0f161a9c3ec187e7cf81f
Author: Susan Hinrichs <[email protected]>
Date: 2016-10-11T17:56:42Z
TS-4948: Adjust code to prevent NULL variable reference.
----
---
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.
---