2010/11/18 Dmitry Stogov <dmi...@zend.com>:
> Index: ext/mbstring/mbstring.c
> ===================================================================
> --- ext/mbstring/mbstring.c     (revision 305494)
> +++ ext/mbstring/mbstring.c     (working copy)
> @@ -1132,6 +1132,9 @@
>  {
>        int *list, size;
>
> +       if (!CG(multibyte)) {
> +               return FAILURE;
> +       }
>        if (php_mb_parse_encoding_list(new_value, new_value_length, &list,
> &size, 1 TSRMLS_CC)) {
>                if (MBSTRG(script_encoding_list) != NULL) {
>                        free(MBSTRG(script_encoding_list));

Should this hunk not be inside an #ifdef ZEND_MULTIBYTE ?

Reply via email to