Uploaded image for project: 'sfc'
  1. sfc
  2. SFC-144

Wrong run-time check for variable value

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5879
    • Lowest

    Description

      In file SfcScfOfProcessor.java starting at line 135:

      String ruleName = ace.getRuleName();
      if (ruleName == null) {
      LOG.error("createdServiceFunctionClassifier: ruleName is null\n");
      continue;
      }

      ....

      // Action
      Actions actions = ace.getActions();
      if (ruleName == null) {
      LOG.error("createdServiceFunctionClassifier: action is null\n");
      continue;
      }

      The second check on ruleName seems a copy&paste duplicate, it should be checking variable actions instead.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jesus.javier.arauz@ericsson.com Javier Arauz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: