[MacPorts] #58598: PHP 7.3.6 can throw a known bus error on freebsd flavored OS if using ifuncs, can fix in configure.ac
MacPorts
noreply at macports.org
Thu Aug 8 10:47:30 UTC 2019
#58598: PHP 7.3.6 can throw a known bus error on freebsd flavored OS if using
ifuncs, can fix in configure.ac
----------------------+--------------------
Reporter: johnww2 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: php73 |
----------------------+--------------------
Comment (by slaakso):
Looks like this bug also causes all calls to openssl_encrypt to fail with
Mojave (10.14.5) + php73 @7.3.7_0+libedit + php73-openssl @7.3.7_0. The
crash report is identical to johnww2's.
Code to repoduce:
{{{
<?php
$string = 'A21AAGKNBOtl07Vi9GhIH7Vq8U7Bo8lVouF2VOA8z-zcavwk0p-
15NFTje6dVQNUYX3E8rUqdB78MncT2TwWdD_EQ_rk28DRQ';
$key = 'EPCSQhC3UGJm1NdsSpN_DCMHDGdEQJj_wAZiOhN0T4I9Kyi6Qx_ndfhr5Rhz';
$iv = '5d4becbdbd5b02.1';
$encrypted = openssl_encrypt($string, "AES-256-CBC", $key, 0, $iv);
}}}
Works ok in php72 @7.2.20_0+libedit
--
Ticket URL: <https://trac.macports.org/ticket/58598#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list