1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Avoid using uninitialised struct
This commit is contained in:
Niels Dossche
2023-11-25 20:08:26 +01:00
2 changed files with 4 additions and 1 deletions

3
NEWS
View File

@@ -6,6 +6,9 @@ PHP NEWS
. Fixed bug GH-12758 / GH-12768 (Invalid opline in OOM handlers within
ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC). (Florian Engelhardt)
- MySQLnd:
. Avoid using uninitialised struct. (mikhainin)
- Standard
. Fixed GH-12745 (http_build_query() default null argument for $arg_separator
is implicitly coerced to string). (Girgias)

View File

@@ -344,8 +344,8 @@ mysqlnd_query_read_result_set_header(MYSQLND_CONN_DATA * conn, MYSQLND_STMT * s)
}
MYSQLND_INC_CONN_STATISTIC(conn->stats, statistic);
}
PACKET_FREE(&fields_eof);
} while (0);
PACKET_FREE(&fields_eof);
break; /* switch break */
}
} while (0);