Debian Bug report logs -
#627569
Assigning the return value of new by reference is deprecated in /usr/share/php/Mail/mimeDecode.php on line 324
Reported by: Gary V <mr88talent@gmail.com>
Date: Sun, 22 May 2011 01:21:01 UTC
Severity: normal
Found in version php-mail-mimedecode/1.5.0-3
Fixed in version php-mail-mimedecode/1.5.5-1
Done: Vincent Bernat <bernat@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#627569; Package php-mail-mimedecode.
(Sun, 22 May 2011 01:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Gary V <mr88talent@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sun, 22 May 2011 01:21:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php-mail-mimedecode
Version: 1.5.0-3
There appears to be a PHP 5.3 deprecation error in
/usr/share/php/Mail/mimeDecode.php:
I'm using a PHP program called MailZu that is used as a quarantine
management system for amavisd-new and when a quarantined message is
displayed, I get this error in /var/log/apache2/error.log:
[Sat May 21 18:20:55 2011] [error] [client 192.168.1.41] PHP
Deprecated: Assigning the return value of new by reference is
deprecated in /usr/share/php/Mail/mimeDecode.php on line 324, referer:
https://msa.example.com/mailzu/messagesAdmin.php?t_criterion=contains&t_string=example.com&m_criterion=contains&m_string=&f_criterion=contains&f_string=&s_criterion=contains&s_string=&ctype=A&search_action=Search
Line 324 reads: $obj = &new Mail_mimeDecode($body);
I have read that this may possibly be resolved by removing the & in
the front of &new. Doing so does appear to resolve the issue for me.
For comparison, I noticed that line Line 196 reads: $obj = new
Mail_mimeDecode($params['input']);
While I'm not a PHP programmer, it appears to me it might be OK to
remove the & from in front of &new as it is done elsewhere in the
program.
Gary V
Added tag(s) pending.
Request was from Vincent Bernat <bernat@alioth.debian.org>
to control@bugs.debian.org.
(Mon, 06 Jun 2011 17:42:06 GMT) (full text, mbox, link).
Reply sent
to Vincent Bernat <bernat@debian.org>:
You have taken responsibility.
(Mon, 06 Jun 2011 18:06:13 GMT) (full text, mbox, link).
Notification sent
to Gary V <mr88talent@gmail.com>:
Bug acknowledged by developer.
(Mon, 06 Jun 2011 18:06:13 GMT) (full text, mbox, link).
Message #12 received at 627569-close@bugs.debian.org (full text, mbox, reply):
Source: php-mail-mimedecode
Source-Version: 1.5.5-1
We believe that the bug you reported is fixed in the latest version of
php-mail-mimedecode, which is due to be installed in the Debian FTP archive:
php-mail-mimedecode_1.5.5-1.debian.tar.gz
to main/p/php-mail-mimedecode/php-mail-mimedecode_1.5.5-1.debian.tar.gz
php-mail-mimedecode_1.5.5-1.dsc
to main/p/php-mail-mimedecode/php-mail-mimedecode_1.5.5-1.dsc
php-mail-mimedecode_1.5.5-1_all.deb
to main/p/php-mail-mimedecode/php-mail-mimedecode_1.5.5-1_all.deb
php-mail-mimedecode_1.5.5.orig.tar.gz
to main/p/php-mail-mimedecode/php-mail-mimedecode_1.5.5.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 627569@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Bernat <bernat@debian.org> (supplier of updated php-mail-mimedecode package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 06 Jun 2011 19:35:13 +0200
Source: php-mail-mimedecode
Binary: php-mail-mimedecode
Architecture: source all
Version: 1.5.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Changed-By: Vincent Bernat <bernat@debian.org>
Description:
php-mail-mimedecode - PHP PEAR module to decode MIME messages
Closes: 286772 627569
Changes:
php-mail-mimedecode (1.5.5-1) unstable; urgency=low
.
* New upstream release.
+ Include fixes that closes: #286772.
+ Include another fix that closes: #627569.
* Switch to 3.0 (quilt) format.
* Move dh-make-php in Build-Depends since it could be needed for the
clean target.
Checksums-Sha1:
2115f596b7899989562ba033117d656d3e8610f5 1369 php-mail-mimedecode_1.5.5-1.dsc
7ca891a246f0fd6e6a83dcb4b06eabd65b44a406 11554 php-mail-mimedecode_1.5.5.orig.tar.gz
2cb073b140c49c0df9b11a86915633143cd84eb8 2556 php-mail-mimedecode_1.5.5-1.debian.tar.gz
7569c5842db958683823d792cf45869bd73571e4 17616 php-mail-mimedecode_1.5.5-1_all.deb
Checksums-Sha256:
5c6f7abd32992b33d4fc1c0ca6ffb27a1ddf6a82b8b09685f5ea818f3903ab77 1369 php-mail-mimedecode_1.5.5-1.dsc
e58d162b326ce7687f0e23790124511d56b521a2b465d5481385a5a857c16188 11554 php-mail-mimedecode_1.5.5.orig.tar.gz
0905b13c88931cefd775e810085849a453607f3ce1b8fd05837fc04e30b9544d 2556 php-mail-mimedecode_1.5.5-1.debian.tar.gz
8cf8c326c30bc07d5d88ee02da2a49ca2bd2bd6c6a7acfb279c9f8a82af6b75d 17616 php-mail-mimedecode_1.5.5-1_all.deb
Files:
7b63136b6cd2804b4ddb6c5e1a26411d 1369 php optional php-mail-mimedecode_1.5.5-1.dsc
915bf1c68a5518afc14700d5b1132200 11554 php optional php-mail-mimedecode_1.5.5.orig.tar.gz
61913383d1e41a38c91b2ab19fe1b592 2556 php optional php-mail-mimedecode_1.5.5-1.debian.tar.gz
2f09fdd65579253c4534f93be741b266 17616 php optional php-mail-mimedecode_1.5.5-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk3tEccACgkQKFvXofIqeU4ZUgCdGFznJDGpUdQqwEXjbm6QaQ1K
gyUAoKpUhlUDWaXp3MMbytt63OH9U6D2
=oUGN
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 15 Jul 2011 07:40:24 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 03:27:14 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.