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

FlatteningPathIterator constructor raises NegativeArraySizeException with large int arg

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris

      Description

      When the following constructor from java.awt.geom.FlatteningPathIterator:

         public FlatteningPathIterator(PathIterator src, double flatness,
      int limit)

      is called with the limit argument set to Integer.MAX_VALUE, it throws java.lang.NegativeArraySizeException.

      This issue was reported to ###@###.### by E. Kellinis, but it is not considered a security issue (more details in the comments).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avu Alexey Ushakov
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: