php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11932 When mb_send_mail function receive 5 argument, PHP doesn't show any screen.
Submitted: 2001-07-06 09:52 UTC Modified: 2002-01-05 19:07 UTC
From: yaemon at alles dot or dot jp Assigned: hirokawa (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.6 OS: FreeBSD 4.2-RELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yaemon at alles dot or dot jp
New email:
PHP Version: OS:

 

 [2001-07-06 09:52 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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-06 09:54 UTC] derick@php.net
Submitted twice
 [2001-07-06 10:50 UTC] hirokawa@php.net
I fixed on cvs using your patch.
It will be included in php-4.0.7.
 [2001-07-06 10:52 UTC] derick@php.net
This was the double one Rui. I already closed the other one (11932).
 [2002-01-05 19:07 UTC] hirokawa@php.net
This problem was already fixed in PHP-4.1.0/4.1.1.

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