php7: fix issue 5488
authorPhilip Prindeville <philipp@redfish-solutions.com>
Thu, 25 Jan 2018 18:38:57 +0000 (11:38 -0700)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Thu, 25 Jan 2018 19:51:51 +0000 (12:51 -0700)
commit6230ab4437aa5e5436f50c9f0a83f5722ae14157
treeffd2b5a88924fbf6eddb07f92a82a40b6d89a262
parentb663b1f65e1cb88d655bade4a86175766ee3d0a6
php7: fix issue 5488

Depending on which version of libiconv you're using, php_iconv_string()
doesn't always null out *out as part of its initialization.  This
patch makes that behavior invariant.

Submitted upstream as https://github.com/php/php-src/pull/3037 where
it's approved and waiting a merge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lang/php7/Makefile
lang/php7/patches/1012-php_iconv_string-null-out-pointer [new file with mode: 0644]