Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 70094 Details for
Bug 108394
squirrelmail 1.4.5 uses array_shift in a wrong way (imap_messages.php)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes the bug
squirrelmail.patch (text/plain), 617 bytes, created by
Bjarke Istrup Pedersen (RETIRED)
on 2005-10-07 08:35:04 UTC
(
hide
)
Description:
Patch that fixes the bug
Filename:
MIME Type:
Creator:
Bjarke Istrup Pedersen (RETIRED)
Created:
2005-10-07 08:35:04 UTC
Size:
617 bytes
patch
obsolete
>diff -aurp old/squirrelmail/functions/imap_messages.php new/squirrelmail/functions/imap_messages.php >--- old/squirrelmail/functions/imap_messages.php 2005-10-07 15:27:06.000000000 +0000 >+++ new/squirrelmail/functions/imap_messages.php 2005-10-07 15:28:56.000000000 +0000 >@@ -477,7 +477,8 @@ function parseArray($read,&$i) { > * class/mime/Rfc822Header.php. > */ > function parsePriority($value) { >- $value = strtolower(array_shift(split('/\w/',trim($value)))); >+ $aValue=split('/\w/',trim($sValue)); >+ $value = strtolower(array_shift($aValue)); > if ( is_numeric($value) ) { > return $value; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108394
:
70094
|
70752