- Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class
itself). (Ilia)
- Fixed bug #38173 (Freeing nested cursors causes OCI8 to segfault). (Tony)
+- Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). (Ilia)
- Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
names). (Ilia)
- Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from
case PDO_PARAM_EVT_EXEC_PRE:
if (!S->param_values) {
S->param_values = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(char*));
S->param_lengths = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(int));
S->param_formats = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(int));
S->param_types = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(Oid));
}
if (param->paramno >= 0) {