<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snuffleupagus/src/sp_wrapper.c, branch 85beta2</title>
<subtitle>Security module for php7 and php8 - Killing bugclasses and virtual-patching the rest! 
</subtitle>
<id>http://git.dustri.org/snuffleupagus/atom?h=85beta2</id>
<link rel='self' href='http://git.dustri.org/snuffleupagus/atom?h=85beta2'/>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/'/>
<updated>2025-07-15T20:36:00Z</updated>
<entry>
<title>fix: Build PHP</title>
<updated>2025-07-15T20:36:00Z</updated>
<author>
<name>Pierre Tondereau</name>
</author>
<published>2025-07-15T18:16:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=7e56fe6cbaac489d8449962730f37a025d15cfeb'/>
<id>urn:sha1:7e56fe6cbaac489d8449962730f37a025d15cfeb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix debug log statement</title>
<updated>2025-06-25T17:39:09Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2025-06-25T09:37:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=7e6822a7b470ab5fcda123927357019842cdb957'/>
<id>urn:sha1:7e6822a7b470ab5fcda123927357019842cdb957</id>
<content type='text'>
sp_log_debug() does not take a feature as first argument:

    src/sp_wrapper.c: In function 'sp_reregister_php_wrapper':
    src/sp_utils.h:61:53: warning: too many arguments for format [-Wformat-extra-args]
       61 |   if (sp_debug_stderr &gt; 0) dprintf(sp_debug_stderr, "[snuffleupagus][DEBUG] %s(): " fmt "\n", __FUNCTION__, ##__VA_ARGS__);
          |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/sp_wrapper.c:144:3: note: in expansion of macro 'sp_log_debug'
      144 |   sp_log_debug(LOG_FEATURE, "Stream \"php\" successfully re-registered");
          |   ^~~~~~~~~~~~
</content>
</entry>
<entry>
<title>Avoid logging success on failure</title>
<updated>2024-06-09T15:16:29Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2024-06-07T18:19:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=ac75512106d3738bf3f3974d3a0c1e987fbcd19f'/>
<id>urn:sha1:ac75512106d3738bf3f3974d3a0c1e987fbcd19f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure to inject php-stream filter also on stream_wrapper_restore()</title>
<updated>2024-06-09T15:16:23Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2024-05-27T20:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=ea08ba005b7a3a3de379fec3c173fa9c21d81fa7'/>
<id>urn:sha1:ea08ba005b7a3a3de379fec3c173fa9c21d81fa7</id>
<content type='text'>
Not sure this is needed, but better safe than sorry.
</content>
</entry>
<entry>
<title>Add option to specify the allowed "php" wrapper types</title>
<updated>2024-06-09T15:16:16Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2024-05-27T19:33:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=c7ce5c3528e8da8762e6e7067001549e109397ba'/>
<id>urn:sha1:c7ce5c3528e8da8762e6e7067001549e109397ba</id>
<content type='text'>
In addition of the current possibility to filter wrappers by their
protocol name, also add the option to filter the "php" wrapper by the
requested kind.
Especially the 'filter' backend can be disabled that way.
</content>
</entry>
<entry>
<title>fixed crash when parsing arguments with PHP 8.1</title>
<updated>2021-11-30T18:35:40Z</updated>
<author>
<name>Ben Fuhrmannek</name>
</author>
<published>2021-11-30T18:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=49bc961d012c26ea7a26e6a3a2a6a989a8870a99'/>
<id>urn:sha1:49bc961d012c26ea7a26e6a3a2a6a989a8870a99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config is stack allocated now + some code improvements (see details)</title>
<updated>2021-09-23T10:23:40Z</updated>
<author>
<name>Ben Fuhrmannek</name>
</author>
<published>2021-09-23T10:23:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=54c352c1b5aa08b187dd1e52e544709cad2b0fee'/>
<id>urn:sha1:54c352c1b5aa08b187dd1e52e544709cad2b0fee</id>
<content type='text'>
* for easier memory manegement, the entire sp_config struct was merged into snuffleupagus_globals and allocated on stack where possible
* SNUFFLEUPAGUS_G() can be written as SPG(), which is faster to type and easier to read
* execution_depth is re-initialized to 0 for each request
* function calls with inline string and length parameters consistently use ZEND_STRL instead of sizeof()-1
* execution is actually hooked if recursion protection is enabled
* some line breaks were removed to make the code more readable
</content>
</entry>
<entry>
<title>Sprinkle some const</title>
<updated>2021-07-22T15:46:01Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2021-07-22T15:46:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=a27aa204d6b1e556dc30b0426f96d2c9244e75f8'/>
<id>urn:sha1:a27aa204d6b1e556dc30b0426f96d2c9244e75f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix snufflepagus_globals linking issues and one mac compatibility issue</title>
<updated>2019-06-20T10:40:07Z</updated>
<author>
<name>bef</name>
</author>
<published>2019-06-20T10:40:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=1b52614c06b60ced6caecd8dcaa0911ed3aa72e2'/>
<id>urn:sha1:1b52614c06b60ced6caecd8dcaa0911ed3aa72e2</id>
<content type='text'>

</content>
</entry>
<entry>
<title>Try to unify the includes</title>
<updated>2019-02-23T18:36:24Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2019-02-23T18:36:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=809920b8cb130e105847a9956c51a6ecb08e2938'/>
<id>urn:sha1:809920b8cb130e105847a9956c51a6ecb08e2938</id>
<content type='text'>
</content>
</entry>
</feed>
