Bug 25996

Summary: perl warning on amavis default configuration
Product: Mageia Reporter: eric gerbier <eric.gerbier>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED OLD QA Contact:
Severity: minor    
Priority: Normal Keywords: UPSTREAM
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://www.freshports.org/security/amavisd-new/
Whiteboard:
Source RPM: amavisd-new-2.11.0-7.mga7.src.rpm CVE:
Status comment:

Description eric gerbier 2019-12-31 08:22:29 CET
Description of problem:
Using amavisd-new without any change, I have the following perl warning in logs :
déc. 31 08:03:19 lxtest3 amavisd[9865]: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/ ( { <-- HERE } (?: / \* )? | \* ) / at (eval 775) >


Version-Release number of selected component (if applicable):
amavisd-new-2.11.0-7.mga7

How reproducible:


Steps to Reproduce:
1. urpmi amavisd-new
2. systemctl start amavisd.service
3. journalctl -b -u amavisd
Comment 1 Lewis Smith 2019-12-31 20:48:17 CET
Thank you for reporting this.
In the URL I have noted at head, there is:
-----------------------------------------
14 Jan 2019 22:08:45
Original commit files touched by this commit  2.11.1_1,1
Revision:490317
	
Add a missing backslash-escape to left brace in a regexp

Perl 5.28 introduced a warning about unescaped left brace in a regexp,
resulting in a warning issued during amavisd startup:

Unescaped left brace in regex is deprecated here (and will be fatal in Perl
5.32), passed through in regex; marked by <-- HERE in m/ ( { <-- HERE }
(?: / \* )? | \* ) / at (eval 112) line 830.

Currently the warning is harmless although annoying, but will become a fatal
error with the next version of perl.

PR:		234173
Submitted by:	Mark.Martinec@ijs.si
------------------------------------
which suggests that this this was fixed in version 2.11.1_1,1
Our version dates basically from Apr 26 2016 UTC - upgrade to rel version 2.11.0
Latest version seems to be 16 Oct 2019 13:01:35  2.12.0,1

Assigning globally as this package has no registered nor evident maintainer.

Keywords: (none) => UPSTREAM
Assignee: bugsquad => pkg-bugs
URL: (none) => https://www.freshports.org/security/amavisd-new/

Comment 2 Aurelien Oudelet 2021-07-06 13:16:56 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 3 Marja Van Waes 2021-09-07 14:10:40 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Resolution: (none) => OLD
Status: NEW => RESOLVED