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

credentialsbinding.Binding abstract class allows variable name to be null

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The org.jenkinsci.plugins.credentialsbinding.Binding abstract class never validates that the variable parameter/field is non-null. This causes a bug in all of its subclasses (FileBinding, StringBinding, UsernamePasswordBinding, etc.) where if the user doesn't include a variable in the constructor, it tries to use null.

      Masking supported pattern matches of $null

      Instead, it should throw a proper exception in the constructor if variable is null or empty.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rittneje Jesse Rittner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: