|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-08-04 00:59 UTC] felipe@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: felipe
[2011-08-04 00:59 UTC] felipe@php.net
[2011-08-04 00:59 UTC] felipe@php.net
[2011-08-04 10:12 UTC] neweracracker at gmail dot com
[2011-08-04 10:57 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 02:00:01 2025 UTC |
Description: ------------ intl_convert_utf8_to_utf16() is wrong used in a multiple points. Example 165 intl_convert_utf8_to_utf16(&uhaystack, &uhaystack_len, (char *) haystack, haystack_len, &status ); 166 167 if ( U_FAILURE( status ) ) { 168 /* Set global error code. */ 169 intl_error_set_code( NULL, status TSRMLS_CC ); 170 171 /* Set error messages. */ 172 intl_error_set_custom_msg( NULL, "Error converting input string to UTF-16", 0 TSRMLS_CC ); 173 efree( uhaystack ); 174 return -1; 175 } efree() call to uhaystack => (efree(NULL)). sometime 'uhaystack' may be NULL. It's a multiple problem in intl. Then efree() print error