Skip to content

Commit

Permalink
Security robustness stance: drop . from @inc
Browse files Browse the repository at this point in the history
  • Loading branch information
philpennock committed Feb 15, 2017
1 parent 0d3dedf commit f7cf58f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sieve-connect.pre.pl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

use warnings;
use strict;
# Good modern Perl practice and some of our features warrant this:
BEGIN { @INC = grep {$_ ne '.'} @INC };

# If you can't update /etc/services to contain an entry for 'sieve' and you're
# not using 4190 (specified in RFC 5804) and you're not publishing an SRV
Expand Down

0 comments on commit f7cf58f

Please sign in to comment.