1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet

bound parameters are present)
This commit is contained in:
Ilia Alshanetsky
2008-02-24 16:09:05 +00:00
parent 8241ee2226
commit c2805b88e5
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@ PHP NEWS
- Fixed bug #44216 (strftime segfaults on large negative value). (Derick)
- Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
bound parameters are present). (Ilia)
- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit
platforms). (Derick)
- Fixed bug #44197 (socket array keys lost on socket_select). (Felipe)
+4
View File
@@ -166,6 +166,10 @@ static int dispatch_param_event(pdo_stmt_t *stmt, enum pdo_param_event event_typ
ht = stmt->bound_params;
if (ht && !stmt->bound_param_map) {
return 0;
}
iterate:
if (ht) {
zend_hash_internal_pointer_reset(ht);