Skip to content

Commit

Permalink
Dereference /DecodeParms
Browse files Browse the repository at this point in the history
  • Loading branch information
fkoyer committed Dec 13, 2023
1 parent 8b85ada commit 3e223b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mail/SpamAssassin/PDF/Parser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,8 @@ sub _get_stream_data {
$self->{core}->assert_token('endstream');

for (my $i=0;$i<scalar(@filters);$i++) {
my $filter = $filters[$i];
my $decodeParms = $decodeParms[$i];
my $filter = $self->_dereference($filters[$i]);
my $decodeParms = $self->_dereference($decodeParms[$i]);
$filter = $abbreviations{$filter} if defined($abbreviations{$filter});
if ( $filter eq '/FlateDecode' ) {
my $f = Mail::SpamAssassin::PDF::Filter::FlateDecode->new($decodeParms);
Expand Down

0 comments on commit 3e223b5

Please sign in to comment.