Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 528758

Summary: Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
Product: Red Hat Enterprise Linux 5 Reporter: Adam Stokes <astokes>
Component: squirrelmailAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5CC: asersen, azelinka, cww, dmair, dwoodruf, ovasik, rryder
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: squirrelmail-1.4.8-19.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 528760 (view as bug list) Environment:
Last Closed: 2013-01-08 04:59:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 528760, 668957, 719046, 743405    
Attachments:
Description Flags
fix typo none

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