Bug 528758 - Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
Summary: Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: squirrelmail
Version: 5.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 528760 668957 719046 743405
TreeView+ depends on / blocked
 
Reported: 2009-10-13 15:50 UTC by Adam Stokes
Modified: 2018-11-14 20:28 UTC (History)
7 users (show)

Fixed In Version: squirrelmail-1.4.8-19.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 528760 (view as bug list)
Environment:
Last Closed: 2013-01-08 04:59:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
fix typo (612 bytes, patch)
2009-10-13 15:50 UTC, Adam Stokes
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0126 0 normal SHIPPED_LIVE Low: squirrelmail security and bug fix update 2013-01-08 09:21:41 UTC

Description Adam Stokes 2009-10-13 15:50:36 UTC
Created attachment 364617 [details]
fix typo

Description of problem:

There was a CONSTANT typo in squirrelmail version < 1.4.9, this was fixed in December of 2006 resulting in the following errors:

Error while replying:
Warning: preg_split() expects parameter 4 to be long, string given in
/usr/share/squirrelmail/functions/imap_messages.php on line 808

Error while sending regularly:
Warning: Invalid argument supplied for foreach() in
/usr/share/squirrelmail/functions/mime.php on line 52


How reproducible:

view /usr/share/squirrelmail/functions/imap_messages.php on line 808 in rhel4, squirrelmail-1.4.8-5.el4_8.5.noarch

[root@esx02-sa-el4-i386 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
[root@esx02-sa-el4-i386 ~]# rpm -q squirrelmail
squirrelmail-1.4.8-5.el4_8.5
[root@esx02-sa-el4-i386 ~]# grep -n /usr/share/squirrelmail/functions/imap_messages.php -e PREG_SPLIT_NI
808:                $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY');
[root@esx02-sa-el4-i386 ~]#


Steps to Reproduce:



Actual results:

Expected results:

Additional info:

http://squirrelmail.org/changelog.php

Version 1.4.9 - 2 December 2006
- Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message (#1543573).

Comment 2 RHEL Program Management 2009-11-06 19:02:01 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 4 RHEL Program Management 2010-08-09 19:09:56 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 6 RHEL Program Management 2011-05-31 14:26:00 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 8 RHEL Program Management 2011-09-23 00:41:32 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 12 RHEL Program Management 2012-04-02 14:18:13 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 18 errata-xmlrpc 2013-01-08 04:59:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0126.html


Note You need to log in before you can comment on or make changes to this bug.