felipe          Wed Aug  6 16:17:27 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/intl/msgformat msgformat_attr.c 
  Log:
  - MFH: Fixed crash msgfmt_get_pattern
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/msgformat/msgformat_attr.c?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/intl/msgformat/msgformat_attr.c
diff -u php-src/ext/intl/msgformat/msgformat_attr.c:1.1.2.2 
php-src/ext/intl/msgformat/msgformat_attr.c:1.1.2.3
--- php-src/ext/intl/msgformat/msgformat_attr.c:1.1.2.2 Tue Jul 22 20:23:47 2008
+++ php-src/ext/intl/msgformat/msgformat_attr.c Wed Aug  6 16:17:27 2008
@@ -41,7 +41,7 @@
        // Parse parameters.
        if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), 
"O", &object, MessageFormatter_ce_ptr ) == FAILURE )
        {
-               intl_error_set( INTL_DATA_ERROR_P(mfo), 
U_ILLEGAL_ARGUMENT_ERROR,       
+               intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,  
                        "msgfmt_get_pattern: unable to parse input params", 0 
TSRMLS_CC );
                RETURN_FALSE;
        }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to