| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-06-06 | Use strict prototypes | Christian Göttsche | |
| Use the special value void as parameter for functions taking nor argument. | |||
| 2024-06-06 | Fix missing token in config dump | Christian Göttsche | |
| 2024-06-06 | Reorder calloc(3) arguments | Christian 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-03-08 | Update the deprecation checks | jvoisin | |
| 2024-01-26 | Bail early in case of invalid config in PHP_RINIT_ | jvoisin | |
| 2024-01-15 | Add a test for issue #479 | jvoisin | |
| 2024-01-09 | Add some comments to a rule | jvoisin | |
| This should help diagnose https://github.com/jvoisin/snuffleupagus/issues/477 | |||
| 2023-12-13 | print key and value on INI violations | Christian 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-07 | make 'phar' filenames work in sp.disabled_functions, fixes #472 | brown-midas | |
| 2023-11-26 | Fix typos | Christian Göttsche | |
| 2023-09-20 | Bump the changelogv0.10.0 | jvoisin | |
| 2023-09-18 | Get rid of some travis-ci leftovers | jvoisin | |
| 2023-08-02 | Update broken_conf_no_file_specified.phpt | Pete Cooper | |
| typo | |||
| 2023-08-02 | Update loading.phpt | Pete Cooper | |
| typo | |||
| 2023-08-02 | Update snuffleupagus.c | Pete Cooper | |
| typo | |||
| 2023-06-25 | Fix an unserialize-related warning | jvoisin | |
| This should fix `Warning: unserialize(): Extra data starting at offset 8 of 72 bytes in unserialize.php on line 4`. On the flip side, it's not longer possible in PHP8.3 and above, when using Snuffleupagus, to have other extensions hooking unserialize(). | |||
| 2023-06-25 | Remove ZEND_HOT | jvoisin | |
| 2023-04-29 | Improve how the parser is generated | jvoisin | |
| - use long variant of options for re2c in its makefile - use `define` instead of magic numbers - add some consts - trailing `;` are now mandatory for conditions - NULL bytes are no longer allowed in configuration file - the parser shouldn't crash in the absence of trailing new line at the end of its configuration file | |||
| 2023-04-12 | Make readonly_exec play nice on readonly filesystems | jvoisin | |
| 2023-04-04 | check during configure for NTS/ZTS build | Remi Collet | |
| 2023-02-02 | Url encode functions arguments when logging them | jvoisin | |
| 2023-02-01 | Fix a possible NULL-byte truncation when outputting parameters in the logs | jvoisin | |
| 2023-01-31 | Add sp.log_max_len | jvoisin | |
| 2023-01-04 | Fix the CI for PHP8.2 | jvoisin | |
| 2023-01-03 | Bump the changelogv0.9.0 | jvoisin | |
| 2022-12-11 | Remove the useless windows configuration file | jvoisin | |
| 2022-12-11 | Add support for PHP8.2 | jvoisin | |
| 2022-12-10 | Fix a minor typo in the testsuite | jvoisin | |
| 2022-12-10 | Even more changes to accomodate PHP8.2 | jvoisin | |
| 2022-12-09 | Portability improvements for PHP8.2 | jvoisin | |
| 2022-12-08 | Add unserialize_noclass | jvoisin | |
| 2022-12-07 | Minor refactor | jvoisin | |
| 2022-10-13 | Revert "Minor refactor" | Patrick Allaert | |
| This reverts commit 90bdf39000d2f09534b387d39203819995fb948e. Caused compilation failure with PHP compiled with ZTS. | |||
| 2022-10-09 | Revert the previous commit | jvoisin | |
| 2022-10-01 | Fix an overzealous `const` | jvoisin | |
| 2022-08-27 | Bump the changelogv0.8.3 | jvoisin | |
| 2022-08-21 | Fix sloppy comparison | jvoisin | |
| 2022-07-20 | Merge branch 'master' into pr1 | BeF | |
| 2022-07-20 | fixed cookie config parsing with same cookie name (update instead of ignore) | Ben Fuhrmannek | |
| 2022-07-20 | fixed mem leak while parsing cookie config | Ben Fuhrmannek | |
| 2022-07-20 | add disabled functions return type to config export | Ben Fuhrmannek | |
| 2022-07-18 | Remove a superfluous condition | jvoisin | |
| 2022-07-18 | added config error for ini rules with identical key | Ben Fuhrmannek | |
| 2022-07-18 | fixed crash when exporting function list (rare edge case problem) | Ben Fuhrmannek | |
| 2022-07-17 | added full relro protection if the linker supports -z | Ben Fuhrmannek | |
| 2022-07-15 | Minor refactor | jvoisin | |
| 2022-07-14 | Minor refactoring | jvoisin | |
| 2022-07-13 | Remove some useless conditions | jvoisin | |
| 2022-07-13 | Even more const! | jvoisin | |
| 2022-07-13 | More micro-optimizations | jvoisin | |
