Alan M. Carroll created TS-4629:
-----------------------------------

             Summary: 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