php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41189 Multi-dimensional array in COM function causes hang
Submitted: 2007-04-25 18:55 UTC Modified: 2021-05-03 11:57 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: rrosamond at sccd dot ctc dot edu Assigned: cmb (profile)
Status: Duplicate Package: COM related
PHP Version: 5CVS-2007-04-25 (snap) OS: Windows 2003 Server
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: rrosamond at sccd dot ctc dot edu
New email:
PHP Version: OS:

 

 [2007-04-25 18:55 UTC] rrosamond at sccd dot ctc dot edu
Description:
------------
This is a similar issue to the one posted by spymail at 21cn dot com on 26 Apr 2004 6:00pm UTC, Bug #28161 (http://bugs.php.net/bug.php?id=28161).

I should be able to call the COM function and set an attribute in a multi-dimensional array using one of the functions in that COM object.

No changes have been made to php.ini.  I'm using the out-of-the-box config files and extensions packaged with the latest CVS of PHP5.

Reproduce code:
---------------
<?php

$options = "some string of options";
$objHeader = new COM("Wmrmobjs.WMRMHeader");
$objHeader->Attribute["options"] = $options;

?>

Expected result:
----------------
The attribute "options" should be set.

Actual result:
--------------
Apache (2.2.4) and/or PHP (5.2.2RC2-dev/cvs built 4/25/2007 16:30 GMT) hangs on the script.  The page never completely loads after running this function.  PHP never actually "crashes" from what I can tell.  It just simply doesn't complete processing the script.  If I could get it to crash, I would submit a backtrace.

Note, in PHP 5.2.0, the result was different: Uncaught exception 'com_exception' with message 'Error [0x8002000e] Invalid number of parameters.

In 5.2.2RC2-dev/csv, no error is produced.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-15 08:33 UTC] jani@php.net
Assigned to the maintainer.
 [2013-12-13 07:49 UTC] wez@php.net
-Status: Assigned +Status: Open -Assigned To: wez +Assigned To:
 [2020-06-25 16:00 UTC] cmb@php.net
May be related to bug #43432.
 [2021-05-03 11:57 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-05-03 11:57 UTC] cmb@php.net
This is a duplicate of bug #37965.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 08:01:30 2024 UTC