[
https://issues.apache.org/jira/browse/TS-5005?focusedWorklogId=31130&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31130
]
ASF GitHub Bot logged work on TS-5005:
--------------------------------------
Author: ASF GitHub Bot
Created on: 26/Oct/16 21:47
Start Date: 26/Oct/16 21:47
Worklog Time Spent: 10m
Work Description: Github user SolidWallOfCode commented on the issue:
https://github.com/apache/trafficserver/pull/1146
Looks OK. I don't see how the VC would be `nullptr` and maybe the `if`
should just be an assert, but it's OK for now.
Issue Time Tracking
-------------------
Worklog Id: (was: 31130)
Time Spent: 20m (was: 10m)
> CID 1364117: Explicit null dereferenced in HttpSM.cc
> ----------------------------------------------------
>
> Key: TS-5005
> URL: https://issues.apache.org/jira/browse/TS-5005
> Project: Traffic Server
> Issue Type: Bug
> Components: Core, HostDB
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: 7.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code}
> 7. Condition use_client_addr, taking true branch
>
> CID 1364117 (#2 of 2): Explicit null dereferenced (FORWARD_NULL)
> 8. var_deref_model: Passing null pointer client_addr to find_ip, which
> dereferences it. [show details]
> 2137 if (use_client_addr && rr->find_ip(client_addr) == NULL) {
> 2138 DebugSM("http", "use_client_target_addr == 1. Client specified
> address is not in the pool, not validated.");
> 2139 t_state.dns_info.lookup_validated = false;
> 2140 } else {
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)