_citrus_iconv_convert and php bug

Thierry Thomas thierry at freebsd.org
Tue Jun 23 14:20:40 UTC 2020


Le mar. 23 juin 20 à 14:15:12 +0200, Stanislav Grinkin via freebsd-i18n <freebsd-i18n at freebsd.org>
 écrivait :

> Hi all,

Hello,

> I'm not familiar in C but may be somebody has idea about this bug in php 
> or/and iconv implementation in freebsd libc.
> 
> Shortly:
> 
> php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");'
> Bus error (core dumped)
> 
> bug desribed in a few places:
> https://bugs.php.net/bug.php?id=74014
> https://bugs.php.net/bug.php?id=72198
> 
> it seems bug does exist even in php 7.x.

I just tested it with
/usr/local/bin/php was installed by package php72-7.2.31
and it works: no problem.

(on 12.1-STABLE)

> I caught it in very old version php 5.6.40 - some old site on old joomla 
> framework.

Sorry, I don´t have this one anymore!
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-i18n/attachments/20200623/dbbfb503/attachment.sig>


More information about the freebsd-i18n mailing list