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

NotificationBroadcasterSupport.getNotificationInfo() should clone returned array

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-svc
    • None
    • 6
    • b47
    • generic
    • generic

      NotificationBroadcasterSupport has acquired a constructor that takes an MBeanNotificationInfo[] array to be returned from the getNotificationInfo() method. However, what is returned by that method must be a copy of the array, to prevent a malicious local caller from modifying it.

            emcmanus Eamonn McManus
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: