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

ASF subversion and git services commented on TS-4629:
-----------------------------------------------------

Commit 44bc6b9e072580558ac391454c80809f8aa8e4d0 in trafficserver's branch 
refs/heads/master from [~amc]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=44bc6b9 ]

TS-4629: Fix use of invalid iterator in ServerSessionPool::purge.
Add postfix increment to IPHashTable::iterator.
This closes #780.


> ServerSessionPool::purge can use an invalid iterator
> ----------------------------------------------------
>
>                 Key: TS-4629
>                 URL: https://issues.apache.org/jira/browse/TS-4629
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Alan M. Carroll
>
> {{purge}} calls {{do_io_close}} on the session via an iterator and 
> {{do_io_close}} can cause the session to be de-allocated. Because the 
> container links are intrusive this causes the iterator to be come invalid 
> even though it hasn't been removed from the container.
> Also, in fixing this, I noticed {{IPHashTable::iterator}} didn't have a 
> postfix increment operator, which I added because it's perfect for this 
> application.



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

Reply via email to