Skip to content

Commit

Permalink
RoundcubePlugins plugin: Missing check for script existence
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxwin committed May 23, 2019
1 parent aa65aa5 commit 31e2136
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions incubator/RoundcubePlugins/backend/RoundcubePlugins.pm
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ EOT
if ( exists $config->{'script'}
&& ref \$config->{'script'} eq 'SCALAR'
&& length $config->{'script'}
&& -f $config->{'script'}
) {
my $stderr = '';
executeNoWait(
Expand Down Expand Up @@ -511,6 +512,7 @@ sub _deconfigurePlugins
if ( exists $config->{'script'}
&& ref \$config->{'script'} eq 'SCALAR'
&& length $config->{'script'}
&& -f $config->{'script'}
) {
my $stderr = '';
executeNoWait(
Expand Down

0 comments on commit 31e2136

Please sign in to comment.