summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-03-12 10:04:50 +0100
committerjvoisin2018-03-12 10:04:50 +0100
commitc5a87dc823d57a29233e47ce89df5dc0b60bd581 (patch)
tree767922cb413ba8e51b0ca660aee9b310d277c4cb
parent1b0f8a4135dcd092cc92167772dfee7273829e39 (diff)
Bump the changelogv0.2.2
-rw-r--r--debian/changelog14
-rw-r--r--doc/source/changelog.rst23
-rw-r--r--src/php_snuffleupagus.h2
-rw-r--r--src/sp_execute.c2
4 files changed, 39 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index ba90eda..4aeca19 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
1snuffleupagus (0.2.2) UNRELEASED; urgency=medium
2 * Add some assertions in the code
3 * The `.dump()` filter is now supported for `unserialize`, `readonly_exec`, and `eval` black/whitelist
4 * Add more rules examples
5 * Provide a script to check for malicious file uploads
6 * Significant performances improvement (at least +20%)
7 * Significantly improve the performances of our default rules set
8 * Our readme file is now shinier
9 * Minor code simplification
10 * Fix a crash related to variadic functions
11
12 -- jvoisin <snuffleupagus@nbs-system.com> Tue, 12 Mar 2018 10:00:00 +0200
13
14
1snuffleupagus (0.2.1) UNRELEASED; urgency=medium 15snuffleupagus (0.2.1) UNRELEASED; urgency=medium
2 * The testsuite can now be successfully run as root 16 * The testsuite can now be successfully run as root
3 * Fix a double execution when snuffleupagus is used with some other extensions 17 * 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 8e476b1..9384702 100644
--- a/doc/source/changelog.rst
+++ b/doc/source/changelog.rst
@@ -1,6 +1,29 @@
1Changelog 1Changelog
2========= 2=========
3 3
40.2.2 - `Elephant Moraine <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.2.2>`__ 2018/04/12
5-------------------------------------------------------------------------------------------------------
6
7New features
8^^^^^^^^^^^^
9- The `.dump()` filter is now supported for `unserialize`, `readonly_exec`, and `eval` black/whitelist
10
11Improvements
12^^^^^^^^^^^^
13
14- Add some assertions
15- Add more rules examples
16- Provide a script to check for malicious file uploads
17- Significant performances improvement (at least +20%)
18- Significantly improve the performances of our default rules set
19- Our readme file is now shinier
20- Minor code simplification
21
22Bug fixes
23^^^^^^^^^
24- Fix a crash related to variadic functions
25
26
40.2.1 - `Elephant Point <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.2.1>`__ 2018/02/07 270.2.1 - `Elephant Point <https://github.com/nbs-system/snuffleupagus/releases/tag/v0.2.1>`__ 2018/02/07
5------------------------------------------------------------------------------------------------------- 28-------------------------------------------------------------------------------------------------------
6 29
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h
index 27830e4..b22d2f1 100644
--- a/src/php_snuffleupagus.h
+++ b/src/php_snuffleupagus.h
@@ -1,7 +1,7 @@
1#ifndef PHP_SNUFFLEUPAGUS_H 1#ifndef PHP_SNUFFLEUPAGUS_H
2#define PHP_SNUFFLEUPAGUS_H 2#define PHP_SNUFFLEUPAGUS_H
3 3
4#define PHP_SNUFFLEUPAGUS_VERSION "0.2.1" 4#define PHP_SNUFFLEUPAGUS_VERSION "0.2.2"
5#define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" 5#define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus"
6#define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System" 6#define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System"
7#define PHP_SNUFFLEUPAGUS_URL "https://github.com/nbs-system/snuffleupagus" 7#define PHP_SNUFFLEUPAGUS_URL "https://github.com/nbs-system/snuffleupagus"
diff --git a/src/sp_execute.c b/src/sp_execute.c
index bb03ad9..ef71227 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) {
35 } 35 }
36} 36}
37 37
38static void inline is_builtin_matching(const char *restrict const filename, 38inline static void is_builtin_matching(const char *restrict const filename,
39 const char *restrict const function_name, 39 const char *restrict const function_name,
40 const char *restrict const param_name, 40 const char *restrict const param_name,
41 const sp_list_node *config) { 41 const sp_list_node *config) {