summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-06Use strict prototypesChristian Göttsche
Use the special value void as parameter for functions taking nor argument.
2024-06-06Fix missing token in config dumpChristian Göttsche
2024-06-06Add target to run tests incrementalChristian Göttsche
Avoid the configure step each time during development.
2024-06-06Reorder calloc(3) argumentsChristian Göttsche
Please GCC: In file included from /usr/include/php/20220829/Zend/zend.h:30, from /usr/include/php/20220829/main/php.h:31, from /usr/include/php/20220829/main/SAPI.h:20, from src/php_snuffleupagus.h:37, from src/sp_ifilter.c:1: src/sp_pcre_compat.h: In function 'sp_regexp_compile': src/sp_pcre_compat.h:38:36: warning: '__zend_calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 38 | sp_regexp *ret = pecalloc(sizeof(sp_regexp), 1, 1); | ^~~~~~~~~ /usr/include/php/20220829/Zend/zend_alloc.h:199:72: note: in definition of macro 'pecalloc' 199 | #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nmemb), (size))) | ^~~~~ src/sp_pcre_compat.h:38:36: note: earlier argument should specify number of elements, later size of each element 38 | sp_regexp *ret = pecalloc(sizeof(sp_regexp), 1, 1); | ^~~~~~~~~ /usr/include/php/20220829/Zend/zend_alloc.h:199:72: note: in definition of macro 'pecalloc' 199 | #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nmemb), (size))) | ^~~~~
2024-04-25Move from php83-rc to php83 in the CIjvoisin
2024-04-13Run PHP8.2 tests on Alpine, now that PHP81 is dead therejvoisin
2024-03-24Don't forbid use of assert in PHP 8+bohwaz
2024-03-24Fix yet another php surprised-rename of functions parametersjvoisin
2024-03-24Also ignore function definitionsbohwaz
2024-03-24Don't whitelist files if the function name is actually a method of a classbohwaz
2024-03-08Update the deprecation checksjvoisin
2024-02-19Include functions from global space that are prefixed with \Christoph Amthor
2024-01-26Bail early in case of invalid config in PHP_RINIT_jvoisin
2024-01-15Add a test for issue #479jvoisin
2024-01-09Add some comments to a rulejvoisin
This should help diagnose https://github.com/jvoisin/snuffleupagus/issues/477
2023-12-13print key and value on INI violationsChristian Göttsche
On violations of INI settings include the key and if appropriate the value in the log message. This helps to locate offenders and fine tune the configuration itself.
2023-12-13github: tweak skipping tests during package buildChristian Göttsche
2023-12-13debian: downgrade to debhelper compat 12Christian Göttsche
Support Debian old-old-stable (buster) by using debhelper compat level 12.
2023-12-13debian: fix typo in changelogChristian Göttsche
2023-12-13debian: update nocheck build profileChristian Göttsche
2023-12-13debian: add short license text and link to full license fileChristian Göttsche
2023-12-13debian: bump to standards-version 4.6.2Christian Göttsche
Declare Rules-Requires-Root
2023-12-13debian: update linksChristian Göttsche
2023-12-13debian: add missing changelog author linesChristian Göttsche
2023-12-13debian: add extended package descriptionChristian Göttsche
2023-12-13debian: bump to debhelper compat 13Christian Göttsche
2023-12-13debian: add missing dh-php build dependencyChristian Göttsche
2023-12-07make 'phar' filenames work in sp.disabled_functionsJulien Voisin
This fixes #472
2023-12-07make 'phar' filenames work in sp.disabled_functions, fixes #472brown-midas
2023-11-27Configuration fixesJulien Voisin
- Update comment to match configuration - Add condition for mysqli.reconnect: mysqli.reconnect has been removed in PHP 8.2, see https://www.php.net/manual/de/mysqli.configuration.php#ini.mysqli.reconnect.
2023-11-27Update config/ini_protection.rulesJulien Voisin
2023-11-27Add condition for mysqli.reconnectChristian Göttsche
mysqli.reconnect has been removed in PHP 8.2, see https://www.php.net/manual/de/mysqli.configuration.php#ini.mysqli.reconnect.
2023-11-26Fix typosJulien Voisin
2023-11-26Fix typosChristian Göttsche
2023-11-26Clarify a bit the documentation wrt. match/regexjvoisin
This closes #468
2023-11-26Revert "Move from php8.3-rc to 8.3 in the CI"jvoisin
This reverts commit 6a9edc1c9b1d4d455f14ccf0c2e9234f4bcc0460.
2023-11-24Move from php8.3-rc to 8.3 in the CIjvoisin
2023-11-03Add some documentation in the default rules.jvoisin
2023-09-20Bump the changelogv0.10.0jvoisin
2023-09-20Improve a bit the documentationjvoisin
Based on a suggestion from @dimitargi
2023-09-20Document that rules are the be written in asciijvoisin
2023-09-18Get rid of some travis-ci leftoversjvoisin
2023-09-18Add a configuration file for readthedocsjvoisin
2023-09-18Don't build packages for unsupported linux distributionsjvoisin
2023-09-18Update a bit the debian package metadatajvoisin
2023-08-07Remove archlinux from the php7 CIjvoisin
Arch doesn't ship php7 anymore
2023-08-02Typo: 'specificed' -> 'specified'Julien Voisin
2023-08-02Update broken_conf_no_file_specified.phptPete Cooper
typo
2023-08-02Update loading.phptPete Cooper
typo
2023-08-02Update snuffleupagus.cPete Cooper
typo