MantisBT: master-1.2.x 99ada4de

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2014-12-21 06:46 master-1.2.x 559ba4e4
Affected Issues  0017640: CVE-2014-6387: Null byte poisoning in LDAP authentication
 0017967: Reporting an issue gives: 'Invalid argument supplied for foreach()' in '/opt/mantisbt-1.2.18/core/gpc_api.php' line 259
Changeset

Fix system warning in gpc_get_string_array()

The fix for issue 0017640 did not consider that the value returned by
gpc_get() is not necessarily an array - it can be the default value
(e.g. null) causing PHP to throw an 'Invalid argument supplied for
foreach()' warning.

Fixes 0017967, regression from 215968fa8ff33e327f0600765a5caa24de392cbc

mod - core/gpc_api.php Diff File