https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7974

            Bug ID: 7974
           Summary: SpamAssassin.pm, wrong order of calls in sub finish
           Product: Spamassassin
           Version: 4.0.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: sa-...@lrz.de
  Target Milestone: Undefined

Package SpamAssassin.pm, subroutine finish, the statements

  $self->{conf}->finish(); delete $self->{conf};
  $self->{plugins}->finish(); delete $self->{plugins};

should be switched. The first statement just deletes the configuration, nothing
else. But that means, the finish methods cannot use the config anymore. If they
need the config they have to make a copy in advance which should not be needed.
Or they must use finish_tests but cannot react to finish_tests of other
plugins.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to