Ask a Question related to PHP Development, Design and Development.
-
cristea at pntcd dot ro #1
#25307 [NEW]: Crash when session.serialize_handler=wddx & session, post, get vars
From: cristea at pntcd dot ro
Operating system: any
PHP version: 4CVS-2003-08-29 (stable)
PHP Bug Type: Session related
Bug description: Crash when session.serialize_handler=wddx & session, post, get vars
Description:
------------
Apache will crash session.serialize_handler is set to wddx and when a
$_SESSION var have the same name as a $_POST (or $_GET) var.
Try this code:
File w1.php
-----------
<?php
ini_set('session.serialize_handler', 'wddx');
session_start();
$_SESSION['a'] = 'test';
echo <<< EOS
<form action="w2.php" method="post">
<input type="text" name="a" value="">
<input type="submit">
</form>
EOS;
?>
File w2.php
-----------
<?php
ini_set('session.serialize_handler', 'wddx');
session_start();
print_r($_SESSION);
echo "<hr>";
print_r($_POST);
?>
--
Edit bug report at [url]http://bugs.php.net/?id=25307&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25307&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25307&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25307&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25307&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25307&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25307&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25307&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25307&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25307&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25307&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25307&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25307&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25307&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25307&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25307&r=gnused[/url]
cristea at pntcd dot ro Guest
-
#25307 [Ver->Csd]: Crash when session.serialize_handler=wddx & session, post, get vars
ID: 25307 Updated by: sniper@php.net Reported By: cristea at pntcd dot ro -Status: Verified +Status: ... -
#25307 [Ver]: Crash when session.serialize_handler=wddx & session, post, get vars
ID: 25307 User updated by: cristea at pntcd dot ro Reported By: cristea at pntcd dot ro Status: Verified Bug Type: ... -
#25307 [Opn->Ver]: Crash when session.serialize_handler=wddx & session, post, get vars
ID: 25307 Updated by: sniper@php.net Reported By: cristea at pntcd dot ro -Status: Open +Status: ... -
#25166 [Opn->Csd]: Crash when session.serialize_handler string is set to wddx
ID: 25166 Updated by: sniper@php.net -Summary: Crash when session.serialize_handler string is set to unregistered... -
#25166 [Csd->Opn]: Crash when session.serialize_handler string is set to wddx
ID: 25166 User updated by: cristea at pntcd dot ro Reported By: cristea at pntcd dot ro -Status: Closed +Status: ...



Reply With Quote

