Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1900

InMemorySessionManager#SessionImpl.changeSessionId does not check if session exist before replacing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.0.Alpha1, 2.2.19.Final
    • None
    • None
    • None

      When session is created and generator provide ID, createSession iterate up to 100 time to check if ID exists in internal map - if it does, it requests another ID from generator: link

      However, InMemorySessionManager@SessionIImpl#changeSessionId does not, it blindly replace value.

            rhn-cservice-bbaranow Bartosz Baranowski
            rhn-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: