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

Contacts portlet silently converts a long into an int, possibly losing values as a result of integer overflow

    Details

      Description

      In various parts of the code, the contact suffixId / prefixId is converted into an int to check if it's >= than 0 and then passes that int into a method that expects a long.

      In cases where this prefix/suffix is big enough, the original value might be lost due to integer overflow.

      This ticket is not testable by QA.

        Attachments

          Activity

            People

            Assignee:
            melody.wu Melody Wu
            Reporter:
            adolfo.perez Adolfo Pérez
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 years, 36 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 M4