<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snuffleupagus/src/sp_sloppy.c, branch master</title>
<subtitle>Security module for php7 and php8 - Killing bugclasses and virtual-patching the rest! 
</subtitle>
<id>http://git.dustri.org/snuffleupagus/atom?h=master</id>
<link rel='self' href='http://git.dustri.org/snuffleupagus/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/'/>
<updated>2022-08-21T17:40:17Z</updated>
<entry>
<title>Fix sloppy comparison</title>
<updated>2022-08-21T17:40:17Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2022-08-21T13:58:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=e6219a095de78ce03be4a36360020a6f4fe94105'/>
<id>urn:sha1:e6219a095de78ce03be4a36360020a6f4fe94105</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move compile_file and compile_string to sp_execute.c</title>
<updated>2022-06-27T18:12:47Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2022-06-27T18:12:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=30f1270c26edb6ced469eb302de2fa27befbdbec'/>
<id>urn:sha1:30f1270c26edb6ced469eb302de2fa27befbdbec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>added some array initialization, just in case.</title>
<updated>2021-10-21T16:55:48Z</updated>
<author>
<name>Ben Fuhrmannek</name>
</author>
<published>2021-10-21T16:55:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=8e95c5d30f197716ba132e3f2494c5e220f3e5cd'/>
<id>urn:sha1:8e95c5d30f197716ba132e3f2494c5e220f3e5cd</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>Add some guard to prevent hooking recursion</title>
<updated>2021-05-09T21:12:07Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2021-05-09T21:12:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=8353de00398b13f6c94eeab6e2401d2e590543c6'/>
<id>urn:sha1:8353de00398b13f6c94eeab6e2401d2e590543c6</id>
<content type='text'>
This shouldn't be necessary, but better safe than sorry.
</content>
</entry>
<entry>
<title>Constify a function</title>
<updated>2021-01-01T15:31:33Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2021-01-01T15:31:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=837fbdb88a513500520f057d27bdfedd0d3995ca'/>
<id>urn:sha1:837fbdb88a513500520f057d27bdfedd0d3995ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix an other type mismatch in zend_compile_string</title>
<updated>2020-11-30T16:01:28Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2020-11-30T16:01:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=a60798c68db2dd627987e1429b169dbcd460bf2a'/>
<id>urn:sha1:a60798c68db2dd627987e1429b169dbcd460bf2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the type of zend_compile_string (#357)</title>
<updated>2020-11-30T09:15:57Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2020-11-30T09:15:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=95ee1fa689c335233df3345ce1fd0780b79ed2bc'/>
<id>urn:sha1:95ee1fa689c335233df3345ce1fd0780b79ed2bc</id>
<content type='text'>
This was changed in https://github.com/php/php-src/commit/f5dbebd82e642b1d1af462b486fc392ecff2c67a</content>
</entry>
<entry>
<title>Run clang-format on the codebase</title>
<updated>2020-07-04T15:58:13Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2020-07-04T15:58:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=55087da4701ddfbf4728b3670d8e46c07b4df881'/>
<id>urn:sha1:55087da4701ddfbf4728b3670d8e46c07b4df881</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve a bit the compatibility with php8</title>
<updated>2019-10-24T19:15:29Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2019-10-24T18:51:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=93cc22bfb57fc881889165ead1adc94dda30dfc4'/>
<id>urn:sha1:93cc22bfb57fc881889165ead1adc94dda30dfc4</id>
<content type='text'>
- Apparently, TSRMLS_C and TSRMLS_FETCH aren't
  defined anymore, so we have to manually define
  them to nothing
- PHP8 constified a bit some strings, which
  is great, so we should do the same to avoid
  warnings
</content>
</entry>
</feed>
