You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/23 21:28:11 UTC

[jira] [Commented] (TS-4039) StreamHashTable::deleteStaleStreams doesn't initialize the value of "int i" that it iterates on

    [ https://issues.apache.org/jira/browse/TS-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022927#comment-15022927 ] 

ASF GitHub Bot commented on TS-4039:
------------------------------------

GitHub user canselcik opened a pull request:

    https://github.com/apache/trafficserver/pull/348

    TS-4039: StreamHashTable::deleteStaleStreams doesn't initialize an int primitive to zero before iterating

    Properly initializing the `int i` to `0` in `StreamHashTable::deleteStaleStreams(time_t now)`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/canselcik/trafficserver TS4039

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/348.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 #348
    
----
commit 3474f5bbee63a7218c87a2425fbb09e60b5f1990
Author: Can Selcik <cs...@linkedin.com>
Date:   2015-11-23T20:07:54Z

    TS-4039: StreamHashTable::deleteStaleStreams doesn't initialize the value of "int i"
    
    Properly initializing the `int i` to `0` in `StreamHashTable::deleteStaleStreams(time_t now)`.

----


> StreamHashTable::deleteStaleStreams doesn't initialize the value of "int i" that it iterates on
> -----------------------------------------------------------------------------------------------
>
>                 Key: TS-4039
>                 URL: https://issues.apache.org/jira/browse/TS-4039
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Parent Proxy
>            Reporter: Can Selcik
>
> StreamHashTable::deleteStaleStreams doesn't initialize the value of "int i" that it iterates on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)