Due to differences in the way PHP's crc32 command computes a value between
32 bit and 64 bit architectures, the return value for computeHashDirs will
be different. If moving an existing Squirrelmail installation from 32 bit
to 64 bit, this will cause existing users to lose their preferences, as the
directory name Squirrelmail expects to find the preferences files under
will be different between the two architectures.
The attached diff modifies the function to always generate a 32-bit value,
thus making the values the same on both architectures. This has been
tested on Squirrelmail 1.4.17.
Nobody/Anonymous
User Interface
None
Public
|
Date: 2009-02-14 07:29 Committed to 1.4.18SVN and 1.5.2SVN. Thanks very much. |
| Filename | Description | Download |
|---|---|---|
| prefs.php.diff | patch for computeHashDirs function in prefs.php | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-02-14 07:29 | pdontthink |
| resolution_id | None | 2009-02-14 07:29 | pdontthink |
| allow_comments | 1 | 2009-02-14 07:29 | pdontthink |
| close_date | - | 2009-02-14 07:29 | pdontthink |
| File Added | 313429: prefs.php.diff | 2009-02-13 18:54 | adhostmikesw |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use