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

JLightweightFrame#syncCopyBuffer() may throw IOOBE

XMLWordPrintable

    • b150

      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);

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

              Created:
              Updated:
              Resolved: