mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix #60802 ibase_trans() gives segfault when passing params (The &argn passed to zend_parse_parameters shall be a pointer to an integer, not to an unsigned short.)
This commit is contained in:
parent
8619b22ef3
commit
d828944a61
@ -1125,7 +1125,8 @@ PHP_FUNCTION(ibase_drop_db)
|
||||
|
||||
PHP_FUNCTION(ibase_trans)
|
||||
{
|
||||
unsigned short i, argn, link_cnt = 0, tpb_len = 0;
|
||||
unsigned short i, link_cnt = 0, tpb_len = 0;
|
||||
int argn;
|
||||
char last_tpb[TPB_MAX_SIZE];
|
||||
ibase_db_link **ib_link = NULL;
|
||||
ibase_trans *ib_trans;
|
||||
|
Loading…
Reference in New Issue
Block a user