Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.1.1 CE GA2, 6.1.X EE, 6.2.0 CE RC1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: fda38d15a1ba10ca0a2d1c1f983b6a3b97c9ba5e.
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e4361bde9eb8186b66b077aef4d73affd1a8f285.
    • Fix Priority:
      3

      Description

      Hello,

      For me LPS-18871 is a bug and I propose the following change of code in ImageToolImpl to resolve this bug.

      The goal here is to not use "getscaledinstance" because it could be dangerous, see more details here: https://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html

        Attachments

        1. diff_ImageToolImpl.diff
          1 kB
          matthieu gay
        2. picture_in_thumbnail.jpg
          3 kB
          matthieu gay
        3. picture_test.jpg
          4 kB
          matthieu gay

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              matthieug matthieu gay (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                6 years, 10 weeks ago

                Packages

                Version Package