[
https://issues.apache.org/jira/browse/TS-4583?focusedWorklogId=25612&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-25612
]
ASF GitHub Bot logged work on TS-4583:
--------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jul/16 01:11
Start Date: 18/Jul/16 01:11
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on the issue:
https://github.com/apache/trafficserver/pull/802
I don't think this change is correct. It seems to me that the invariant is
that ``server_session`` and ``server_entry`` should be NULL or non-NULL
together. So if we call ``release_server_session()`` when ``server_entry`` is
NULL, we ought to hit the NULL check on ``server_session`` as well.
Issue Time Tracking
-------------------
Worklog Id: (was: 25612)
Time Spent: 50m (was: 40m)
> CID 1021958: Null-pointer dereference after check
> -------------------------------------------------
>
> Key: TS-4583
> URL: https://issues.apache.org/jira/browse/TS-4583
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Jari Alhonen
> Assignee: Jari Alhonen
> Fix For: 7.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> HttpSM.cc checks server_entry against NULL, suggesting it might be NULL,
> before calling release_server_session(), which dereferences server_entry.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)