php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2721 base64_decode doesn't null terminate output string.
Submitted: 1999-11-13 18:51 UTC Modified: 2000-06-09 11:53 UTC
From: waltb at rocketcash dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 2 OS: Linux
Private report: No CVE-ID: None
 [1999-11-13 18:51 UTC] waltb at rocketcash dot com
when using base64_decode, the decoded string is ended with a
space char (32), not a null char (0).  This causes no end
of problems, some of which start with strlent on that output string!  :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-06 11:33 UTC] hholzgra at cvs dot php dot net
is this still the case ? sample code ?
 [2000-06-09 11:53 UTC] stas at cvs dot php dot net
no user feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 22:01:33 2024 UTC