Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170387

JLightweightFrame#syncCopyBuffer() may throw IOOBE

    XMLWordPrintable

Details

    • b150

    Description

      Changes in the method introduced in JDK-8153522

                  int startX = (int)Math.floor(x * scaleX);
                  int startY = (int)Math.floor(y * scaleY);
                  int width = (int)Math.ceil((x + w) * scaleX) - startX;
                  int height = (int)Math.ceil((y + h) * scaleY) - startY;

      potentially may cause IOOBE in
                  System.arraycopy(srcBuffer, from, copyBuffer, from, width);

      Attachments

        Issue Links

          Activity

            People

              ssadetsky Semyon Sadetsky (Inactive)
              ssadetsky Semyon Sadetsky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: