- Issue created by @purencool
- 🇮🇹Italy apaderno Brescia, 🇮🇹
It seems the used library adds extra NULL characters. See
phpseclib_mcrypt_generic_helper()
, the helper function called by other functions (phpseclib_mdecrypt_generic()
, for example.)function phpseclib_mcrypt_generic_helper(Base $td, &$data, $op) { // phpseclib does not currently provide a way to retrieve the mode once it has been set via "public" methods if (phpseclib_mcrypt_enc_is_block_mode($td)) { $block_length = phpseclib_mcrypt_enc_get_iv_size($td); $extra = strlen($data) % $block_length; if ($extra) { $data.= str_repeat("\0", $block_length - $extra); } }
- Merge request !10Issue #3526876: Extra data starting at offset error showing in logs → (Merged) created by apaderno
-
purencool →
committed c67364ef on 3.x authored by
avpaderno →
Issue #3526876: Extra data starting at offset error showing in logs
-
purencool →
committed c67364ef on 3.x authored by
avpaderno →
- 🇦🇺Australia purencool
Before merge
PHPUnit 9.6.23 by Sebastian Bergmann and contributors. Testing /var/www/html/web/modules/contrib/bakery/tests EEI.E.EEE.I.....................E....E.E..I.
After merge
PHPUnit 9.6.23 by Sebastian Bergmann and contributors. Testing /var/www/html/web/modules/contrib/bakery/tests ..I.......I...............................I. 44 / 44 (100%)
Automatically closed - issue fixed for 2 weeks with no activity.