@halfdan opened this Issue on April 20th 2010 Member

I just patched my PHP 5.3.2 with the suhosin patch and recognised that Piwiks security plugin fails to recognise the patch.

The error was to check for suhosin variables identified in php.ini. My php was running without any changes to the default suhosin settings, therefore no suhosin.* variable was defined.

It is easy to resolv this problem - the suhosin patch defines a constant "SUHOSIN_PATCH" which is easy to get via get_defined_constants().
Keywords: suhosin

@halfdan commented on April 20th 2010 Member

Attachment: Fixed version of patch.php in /SecurityInfo/PhpSecInfo/Test/Suhosin/

@robocoder commented on April 20th 2010 Contributor

In [2112], fixes #1310 - fix PhpSecInfo test for Suhosin patch; thanks halfdan

@robocoder commented on October 6th 2010 Contributor

(In [3237]) fixes #1753, refs #1310 - get_defined_constants(false) is broken prior to php 5.2.11

This Issue was closed on October 6th 2010
Powered by GitHub Issue Mirror