Bug #77485 [NEW]: base64_encode / base64_decode cannot process the string more than 31 character
| From: | hsiangjen at gmail dot com | Date: | Fri, 18 Jan 2019 09:41:13 +0000 |
| Subject: | Bug #77485 [NEW]: base64_encode / base64_decode cannot process the string more than 31 character | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-219047@lists.php.net to get a copy of this message | ||
From: hsiangjen at gmail dot com
Operating system: Windows 2012R2
PHP version: 7.3.1
Package: *General Issues
Bug Type: Bug
Bug description:base64_encode / base64_decode cannot process the string more than 31 character
Description:
------------
base64 encode/decode function cannot encode/decode the string more than
31 character
Here is the crash report
https://www.dropbox.com/s/yo0scixw1ww7huw/CrashHang_Report__Date_01_18_2019__Time_05_36_17PM__768.mht?dl=0
Test script:
---------------
$str = '123456789-123456789-123456789-12';
echo base64_encode($str);
Actual result:
--------------
php.exe crash or browser shows Secure Connection Failed
--
Edit bug report at https://bugs.php.net/bug.php?id=77485&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77485&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77485&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77485&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77485&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77485&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77485&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77485&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77485&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77485&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77485&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77485&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77485&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77485&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77485&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77485&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77485&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77485&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77485&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77485&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77485&r=mysqlcfg