mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fixed CORE-3202: execute_immediate API call family may crash the remote server.
This commit is contained in:
parent
ed7607956e
commit
83a3f22c7e
@ -1985,6 +1985,11 @@ ISC_STATUS rem_port::execute_immediate(P_OP op, P_SQLST * exnow, PACKET* sendL)
|
||||
if (this->port_statement->rsr_bind_format)
|
||||
{
|
||||
in_msg_length = this->port_statement->rsr_bind_format->fmt_length;
|
||||
if (!this->port_statement->rsr_message->msg_address)
|
||||
{
|
||||
this->port_statement->rsr_message->msg_address =
|
||||
this->port_statement->rsr_message->msg_buffer;
|
||||
}
|
||||
in_msg = this->port_statement->rsr_message->msg_address;
|
||||
}
|
||||
out_blr_length = exnow->p_sqlst_out_blr.cstr_length;
|
||||
|
Loading…
Reference in New Issue
Block a user