** Description changed:

+ [Impact]
+ 
+ The basic_pop3_auth command immediately fails when run in Bionic.
+ 
+ Backporting this fix will allow users to authenticate user credentials
+ against a POP3 server as intended.
+ 
+ This is fixed by patching in an upstream commit that properly declares
+ variables in the authentication script.
+ 
+ [Test Plan]
+ 
+ # lxc launch images:ubuntu/bionic test
+ # lxc exec test bash
+ 
+ # apt update && apt dist-upgrade
+ # apt install -y squid3
+ 
+ # /usr/lib/squid/basic_pop3_auth
+ 
+ Global symbol "$server" requires explicit package name (did you forget to 
declare "my $server"?) at /usr/lib/squid/basic_pop3_auth line 92.
+ Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at /usr/lib/squid/basic_pop3_auth line 99.
+ Global symbol "$server" requires explicit package name (did you forget to 
declare "my $server"?) at /usr/lib/squid/basic_pop3_auth line 99.
+ Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at /usr/lib/squid/basic_pop3_auth line 100.
+ Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at /usr/lib/squid/basic_pop3_auth line 106.
+ Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at /usr/lib/squid/basic_pop3_auth line 111.
+ Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at /usr/lib/squid/basic_pop3_auth line 112.
+ Execution of /usr/lib/squid/basic_pop3_auth aborted due to compilation errors.
+ 
+ [Where problems could occur]
+ 
+ Since the authentication is now able to continue without crashing,
+ problems could occour further down in the script. This could include
+ modifications to the POP3 server used for authentication.
+ 
+ The behavior should now match that of the other currently supported
+ distributions, and the script is external to the rest of squid3, but up
+ until now this script has not successfully run on Bionic.
+ 
+ [Original Description]
+ 
  Ubuntu Xenial
  perl is v5.22.1
  squid3 version 3.5.12-1ubuntu7.5
  Running basic_pop3_auth pop3_server gives :
  
  Global symbol "$server" requires explicit package name (did you forget to 
declare "my $server"?) at ./basic_pop3_auth line 92.
  Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at ./basic_pop3_auth line 99.
  Global symbol "$server" requires explicit package name (did you forget to 
declare "my $server"?) at ./basic_pop3_auth line 99.
  Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at ./basic_pop3_auth line 100.
  Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at ./basic_pop3_auth line 106.
  Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at ./basic_pop3_auth line 111.
  Global symbol "$pop" requires explicit package name (did you forget to 
declare "my $pop"?) at ./basic_pop3_auth line 112.
  ./basic_pop3_auth had compilation errors.
  
  adding my before $server on line 92 and before $pop on line 99 solves
  the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755189

Title:
  squid3 helper basic_pop3_auth crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/1755189/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to