Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32852

ArrayIndexOutOfBoundsException can be thrown in hudson.model.Fingerprint.RangeSet.fromString(...)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      ArrayIndexOutOfBoundsException is thrown when range specification is without end part like "1-", "15-" etc.

      Fix:
      Number of available tokens should be checked and if it isn't appropriate, throw IllegalArgumenException with "Unable to parse..." as currently in this place.

          [JENKINS-32852] ArrayIndexOutOfBoundsException can be thrown in hudson.model.Fingerprint.RangeSet.fromString(...)

          PR sent.

          Pavel Janoušek added a comment - PR sent.

          Code changed in jenkins
          User: Ing. Pavel Janousek
          Path:
          core/src/main/java/hudson/model/Fingerprint.java
          http://jenkins-ci.org/commit/jenkins/0f89ef4162f5c9e0da687f51b1eae61aa512c4f9
          Log:
          JENKINS-32852 Fixed possible ArrayIndexOutOfBoundsException in RangeSet.fromString()

          Fixed possible ArrayIndexOutOfBoundsException in
          hudson.model.Fingerprint.RangeSet.fromString(...)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ing. Pavel Janousek Path: core/src/main/java/hudson/model/Fingerprint.java http://jenkins-ci.org/commit/jenkins/0f89ef4162f5c9e0da687f51b1eae61aa512c4f9 Log: JENKINS-32852 Fixed possible ArrayIndexOutOfBoundsException in RangeSet.fromString() Fixed possible ArrayIndexOutOfBoundsException in hudson.model.Fingerprint.RangeSet.fromString(...)

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          core/src/main/java/hudson/model/Fingerprint.java
          http://jenkins-ci.org/commit/jenkins/721d323e75ce4b1e65d3ba6875dc124b1bdba698
          Log:
          Merge pull request #2023 from pjanouse/JENKINS-32852

          [FIXED JENKINS-32852] Fixed possible ArrayIndexOutOfBoundsException

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/model/Fingerprint.java http://jenkins-ci.org/commit/jenkins/721d323e75ce4b1e65d3ba6875dc124b1bdba698 Log: Merge pull request #2023 from pjanouse/ JENKINS-32852 [FIXED JENKINS-32852] Fixed possible ArrayIndexOutOfBoundsException

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4459
          JENKINS-32852 Fixed possible ArrayIndexOutOfBoundsException in (Revision 0f89ef4162f5c9e0da687f51b1eae61aa512c4f9)

          Result = SUCCESS
          pjanouse : 0f89ef4162f5c9e0da687f51b1eae61aa512c4f9
          Files :

          • core/src/main/java/hudson/model/Fingerprint.java

          dogfood added a comment - Integrated in jenkins_main_trunk #4459 JENKINS-32852 Fixed possible ArrayIndexOutOfBoundsException in (Revision 0f89ef4162f5c9e0da687f51b1eae61aa512c4f9) Result = SUCCESS pjanouse : 0f89ef4162f5c9e0da687f51b1eae61aa512c4f9 Files : core/src/main/java/hudson/model/Fingerprint.java

            pajasoft Pavel Janoušek
            pajasoft Pavel Janoušek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: