#44712 [Opn->Csd]: stream_context_set_params segfaults on invalid arguments

From: Date: Sun, 13 Apr 2008 22:42:34 +0000
Subject: #44712 [Opn->Csd]: stream_context_set_params segfaults on invalid arguments
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124200@lists.php.net to get a copy of this message
ID: 44712 Updated by: bjori@php.net Reported By: bjori@php.net -Status: Open +Status: Closed Bug Type: Streams related Operating System: Linux PHP Version: 5.2.5 -Assigned To: +Assigned To: bjori New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-04-13 22:31:02] bjori@php.net Description: ------------ stream_context_set_params segfaults on invalid arguments Reproduce code: --------------- <?php $ctx = stream_context_get_default(); stream_context_set_params($ctx, array("options" => 1)); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44712&edit=1

« previous php.bugs (#124200) next »