Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-227

Leak in getPermissions method of JdbcRealm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None
    • None

    Description

      It appears that the JdbcRealm.getPermissions is leaking PreparedStatements and ResultSets. These are both created inside a for loop, but the finally block with close statements is outside of the loop.

      Attachments

        1. JdbcRealm_Leak_Fix.patch
          3 kB
          Jared Bunting

        Activity

          People

            kaosko Kalle Korhonen
            deraj123 Jared Bunting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: