Copy dba_*() keys before converting to string.
authorAdam Harvey <aharvey@php.net>
Sun, 22 Sep 2013 23:46:17 +0000 (16:46 -0700)
committerAdam Harvey <aharvey@php.net>
Sun, 22 Sep 2013 23:46:17 +0000 (16:46 -0700)
commit30e0442c549bd20288ca8754daa0cdf24d98f055
tree2ffe61739fa2e38048edbced922ab9b414e450e4
parentcc66eaa04b123bdfb6aaa7305713fa508640999e
Copy dba_*() keys before converting to string.

A nice Sunday afternoon project for somebody would be to refactor the dba
functions to use zend_parse_parameters() reliably and try to untangle some of
the macros in dba.c. Sadly, it is not a nice Sunday afternoon here.

Fixes bug #65708 (dba functions cast $key param to string in-place, bypassing
copy on write).
NEWS
ext/dba/dba.c
ext/dba/tests/bug65708.phpt [new file with mode: 0644]