cvs: php-src /ext/intl/msgformat msgformat_attr.c
| From: | Felipe Pena | Date: | Wed, 06 Aug 2008 16:16:16 +0000 |
| Subject: | cvs: php-src /ext/intl/msgformat msgformat_attr.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52054@lists.php.net to get a copy of this message | ||
felipe Wed Aug 6 16:16:16 2008 UTC
Modified files:
/php-src/ext/intl/msgformat msgformat_attr.c
Log:
- Fixed crash msgfmt_get_pattern
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/msgformat/msgformat_attr.c?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/intl/msgformat/msgformat_attr.c
diff -u php-src/ext/intl/msgformat/msgformat_attr.c:1.3
php-src/ext/intl/msgformat/msgformat_attr.c:1.4
--- php-src/ext/intl/msgformat/msgformat_attr.c:1.3 Tue Jul 22 22:11:21 2008
+++ php-src/ext/intl/msgformat/msgformat_attr.c Wed Aug 6 16:16:16 2008
@@ -37,7 +37,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;
}