Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78342: Bus error in configure test for iconv //IGNORE
This commit is contained in:
Christoph M. Becker 2019-07-29 08:51:14 +02:00
commit fec71e3f25
2 changed files with 6 additions and 0 deletions

3
NEWS
View File

@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.4.0beta2
- Iconv:
. Fixed bug #78342 (Bus error in configure test for iconv //IGNORE). (Rainer
Jung)
25 Jul 2019, PHP 7.4.0beta1

View File

@ -162,6 +162,9 @@ int main() {
int main() {
iconv_t cd = iconv_open( "UTF-8//IGNORE", "UTF-8" );
if(cd == (iconv_t)-1) {
return 1;
}
char *in_p = "\xC3\xC3\xC3\xB8";
size_t in_left = 4, out_left = 4096;
char *out = malloc(out_left);