ibase_set_event_handler() is allowing to pass callback without event
| Bug #46247 | ibase_set_event_handler() is allowing to pass callback without event | ||||
|---|---|---|---|---|---|
| Submitted: | 2008-10-07 00:00 UTC | Modified: | 2008-10-07 15:32 UTC | ||
| From: | felipe@php.net | Assigned: | felipe (profile) | ||
| Status: | Closed | Package: | InterBase related | ||
| PHP Version: | 5.2CVS, 5.3CVS, 6CVS | OS: | |||
| Private report: | No | CVE-ID: | None | ||
[2008-10-07 00:00 UTC] felipe@php.net
Description:
------------
See below.
Reproduce code:
---------------
<?php
function whatever($a, $b) { var_dump($a, $b);}
ibase_set_event_handler($x, "whatever");
Actual result:
--------------
Hang up
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2008-10-07 15:32 UTC] felipe@php.net