From c5a87dc823d57a29233e47ce89df5dc0b60bd581 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 12 Mar 2018 10:04:50 +0100 Subject: [PATCH] Bump the changelog --- debian/changelog | 14 ++++++++++++++ doc/source/changelog.rst | 23 +++++++++++++++++++++++ src/php_snuffleupagus.h | 2 +- src/sp_execute.c | 2 +- 4 files changed, 39 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ba90eda7..4aeca19f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,17 @@ +snuffleupagus (0.2.2) UNRELEASED; urgency=medium + * Add some assertions in the code + * The `.dump()` filter is now supported for `unserialize`, `readonly_exec`, and `eval` black/whitelist + * Add more rules examples + * Provide a script to check for malicious file uploads + * Significant performances improvement (at least +20%) + * Significantly improve the performances of our default rules set + * Our readme file is now shinier + * Minor code simplification + * Fix a crash related to variadic functions + + -- jvoisin Tue, 12 Mar 2018 10:00:00 +0200 + + snuffleupagus (0.2.1) UNRELEASED; urgency=medium * The testsuite can now be successfully run as root * Fix a double execution when snuffleupagus is used with some other extensions diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index 8e476b12..9384702c 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -1,6 +1,29 @@ Changelog ========= +0.2.2 - `Elephant Moraine `__ 2018/04/12 +------------------------------------------------------------------------------------------------------- + +New features +^^^^^^^^^^^^ +- The `.dump()` filter is now supported for `unserialize`, `readonly_exec`, and `eval` black/whitelist + +Improvements +^^^^^^^^^^^^ + +- Add some assertions +- Add more rules examples +- Provide a script to check for malicious file uploads +- Significant performances improvement (at least +20%) +- Significantly improve the performances of our default rules set +- Our readme file is now shinier +- Minor code simplification + +Bug fixes +^^^^^^^^^ +- Fix a crash related to variadic functions + + 0.2.1 - `Elephant Point `__ 2018/02/07 ------------------------------------------------------------------------------------------------------- diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h index 27830e4e..b22d2f13 100644 --- a/src/php_snuffleupagus.h +++ b/src/php_snuffleupagus.h @@ -1,7 +1,7 @@ #ifndef PHP_SNUFFLEUPAGUS_H #define PHP_SNUFFLEUPAGUS_H -#define PHP_SNUFFLEUPAGUS_VERSION "0.2.1" +#define PHP_SNUFFLEUPAGUS_VERSION "0.2.2" #define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" #define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System" #define PHP_SNUFFLEUPAGUS_URL "https://github.com/nbs-system/snuffleupagus" diff --git a/src/sp_execute.c b/src/sp_execute.c index bb03ad99..ef712277 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c @@ -35,7 +35,7 @@ ZEND_COLD static inline void terminate_if_writable(const char *filename) { } } -static void inline is_builtin_matching(const char *restrict const filename, +inline static void is_builtin_matching(const char *restrict const filename, const char *restrict const function_name, const char *restrict const param_name, const sp_list_node *config) {