php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15440 quoted_printable_decode: bad CRLF test; tests for LFCR instead.
Submitted: 2002-02-07 22:37 UTC Modified: 2002-04-01 12:09 UTC
From: bird at anduin dot net Assigned:
Status: Closed Package: Strings related
PHP Version: 4.1.1 OS:
Private report: No CVE-ID: None
 [2002-02-07 22:37 UTC] bird at anduin dot net
line 105 in ext/standard/quot_print.c:
                else if ( (str_in[i+k] == 10) && (str_in[i+k+1] == 13))
It should be:
                else if ( (str_in[i+k] == 13) && (str_in[i+k+1] == 10))

This bug breaks testcase ext/standard/tests/general_functions/002.phpt on OS/2 and most likely on windows too.

Might be on of the problems reported in #9498.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-01 12:09 UTC] kir@php.net
This bug has been fixed in CVS.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC