Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify the allowed "php" wrapper types #490

Closed
wants to merge 10 commits into from

Commits on May 27, 2024

  1. Reorder calloc(3) arguments

    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)))
              |                                                                        ^~~~~
    cgzones committed May 27, 2024
    Configuration menu
    Copy the full SHA
    3015e95 View commit details
    Browse the repository at this point in the history
  2. Add target to run tests incremental

    Avoid the configure step each time during development.
    cgzones committed May 27, 2024
    Configuration menu
    Copy the full SHA
    7e77b2f View commit details
    Browse the repository at this point in the history
  3. Add option to specify the allowed "php" wrapper types

    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.
    cgzones committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1af4ce3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    447895d View commit details
    Browse the repository at this point in the history
  5. Ensure to inject php-stream filter also on stream_wrapper_restore()

    Not sure this is needed, but better safe than sorry.
    cgzones committed May 27, 2024
    Configuration menu
    Copy the full SHA
    8190049 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a7b7b58 View commit details
    Browse the repository at this point in the history
  7. Wording updates

    cgzones committed May 27, 2024
    Configuration menu
    Copy the full SHA
    57e65f7 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    6cd73c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    78ef1b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Configuration menu
    Copy the full SHA
    c472fd4 View commit details
    Browse the repository at this point in the history