php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11931 When mb_send_mail function receive 5 argument, PHP doesn't show any screen.
Submitted: 2001-07-06 09:51 UTC Modified: 2001-07-06 09:53 UTC
From: yaemon at alles dot or dot jp Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.6 OS: FreeBSD 4.2-RELEASE
Private report: No CVE-ID: None
 [2001-07-06 09:51 UTC] yaemon at alles dot or dot jp
patch is here
-----------------------------------------------------------------
*** php-4.0.6.org/ext/mbstring/mbstring.c       Wed Jun 20
22:01:49 2001
--- php-4.0.6.new/ext/mbstring/mbstring.c       Fri Jul  6
17:09:41 2001
***************
*** 2527,2531 ****
  {
        int argc, n;
!       pval **argv[4];
        char *to=NULL, *message=NULL, *headers=NULL,
*subject=NULL, *extra_cmd=NULL;
        char *message_buf=NULL, *subject_buf=NULL, *p;
--- 2527,2531 ----
  {
        int argc, n;
!       pval **argv[5];
        char *to=NULL, *message=NULL, *headers=NULL,
*subject=NULL, *extra_cmd=NULL;
        char *message_buf=NULL, *subject_buf=NULL, *p;
***************
*** 2622,2626 ****
  #define PHP_MBSTR_MAIL_MIME_HEADER2 "; charset="
  #define PHP_MBSTR_MAIL_MIME_HEADER3
"\nContent-Transfer-Encoding: "
!       if (argc == 4) {
                convert_to_string_ex(argv[3]);
                p = Z_STRVAL_PP(argv[3]);
--- 2622,2626 ----
  #define PHP_MBSTR_MAIL_MIME_HEADER2 "; charset="
  #define PHP_MBSTR_MAIL_MIME_HEADER3
"\nContent-Transfer-Encoding: "
!       if (argc >= 4) {
                convert_to_string_ex(argv[3]);
                p = Z_STRVAL_PP(argv[3]);

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-06 09:53 UTC] derick@php.net
This was just fixed (by Riu)  in the CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC