Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69078

Potential ClassCastException in equals methods of PermissionCacheUtil's inner classes

    Details

      Description

      Description:

      In the equals(Object obj) methods inside of each of the inner classes of PermissionCacheUtil, we do not do any type-checking of the incoming object. This can lead to a ClassCastException if the object is not the same type as the inner class.

      Affects:
      master: Yes, issue affects master (2c0e3c38a7519067f6ddf561871dd610bc1f55d5)
      ee-7.0.x: Yes, issue affects ee-7.0.x (536ae5685478536827cb704aa824f10dfac925c8)
      ee-6.2.x: Yes, issue affects ee-6.2.x (bfd14ebd558d1e7bf7a108bbae7e93ad5f968739)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              michael.bowerman Michael Bowerman (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 2 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP8
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master