<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snuffleupagus/src/sp_var_parser.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>2024-06-06T14:28:33Z</updated>
<entry>
<title>Fix misc typos</title>
<updated>2024-06-06T14:28:33Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2024-05-29T18:38:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=087590b889fc2746c1392fe0b36984ed3ec1e3b0'/>
<id>urn:sha1:087590b889fc2746c1392fe0b36984ed3ec1e3b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Declare file local variables and functions static</title>
<updated>2024-06-06T14:27:31Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2024-05-29T18:38:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=d82ab8d20191a9ebdb83f918c62fc6c32f068b01'/>
<id>urn:sha1:d82ab8d20191a9ebdb83f918c62fc6c32f068b01</id>
<content type='text'>
Avoid missing prototype warnings by declaring variables and functions
that are only used in a single file static.
</content>
</entry>
<entry>
<title>Reorder calloc(3) arguments</title>
<updated>2024-06-06T14:27:13Z</updated>
<author>
<name>Christian Göttsche</name>
</author>
<published>2024-05-27T19:32:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=97836fae360422baf9c62dd0eb0de6e7b2cfab09'/>
<id>urn:sha1:97836fae360422baf9c62dd0eb0de6e7b2cfab09</id>
<content type='text'>
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)))
          |                                                                        ^~~~~
</content>
</entry>
<entry>
<title>Speed up a tiny bit `sp_parse_var`</title>
<updated>2022-05-02T22:12:47Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2022-05-02T22:12:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=9b11f4105eacc2af8828b65fd946e2b584cdee7e'/>
<id>urn:sha1:9b11f4105eacc2af8828b65fd946e2b584cdee7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>introduced sp_regexp / store original regex</title>
<updated>2022-02-05T11:22:13Z</updated>
<author>
<name>Ben Fuhrmannek</name>
</author>
<published>2022-02-05T11:22:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=323f818a6ce33d021bc0a6d34064598917e68c91'/>
<id>urn:sha1:323f818a6ce33d021bc0a6d34064598917e68c91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed mem leak in parser</title>
<updated>2021-08-03T13:37:40Z</updated>
<author>
<name>Ben Fuhrmannek</name>
</author>
<published>2021-08-03T13:37:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=62f6d31d88e4536269b60471d7a4f7431442276a'/>
<id>urn:sha1:62f6d31d88e4536269b60471d7a4f7431442276a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>properly free memory on shutdown</title>
<updated>2021-08-02T17:19:23Z</updated>
<author>
<name>Ben Fuhrmannek</name>
</author>
<published>2021-08-02T17:19:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=ae4ac9f69de3120004557824e0d766fe8140b27d'/>
<id>urn:sha1:ae4ac9f69de3120004557824e0d766fe8140b27d</id>
<content type='text'>
</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>Improve a bit the typing of the parser</title>
<updated>2021-01-30T20:24:39Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2021-01-30T20:24:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=e7de504856c4b6140c40b5e766459c7ed1f9e992'/>
<id>urn:sha1:e7de504856c4b6140c40b5e766459c7ed1f9e992</id>
<content type='text'>
Use enum members instead of their numbers directly.
</content>
</entry>
<entry>
<title>Constify a bit more</title>
<updated>2020-11-06T16:05:40Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2020-11-06T16:05:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=e6e6728fd04d7cbaeee7f8ef4733a77557786a8b'/>
<id>urn:sha1:e6e6728fd04d7cbaeee7f8ef4733a77557786a8b</id>
<content type='text'>
</content>
</entry>
</feed>
