We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: @ibprovider
AV samples
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, 32000 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , valid_pointer_to_tpb)
I think, need write code like
if(tpb_length<0) { // ERROR }
if(tpb_length!=0 && tpb==NULL) { // ERROR }
Commits: 48e9858
The text was updated successfully, but these errors were encountered:
Commented by: @ibprovider
why.cpp ------------
ISC_STATUS API_ROUTINE GDS_START_MULTIPLE( ... ) { // ....
for (....) { if(vector->teb_tpb_length<0) { Firebird::status_exception::raise(isc_bad_tpb_form,isc_arg_end); }
if(vector->teb_tpb==NULL && vector->teb_tpb_length>0) { Firebird::status_exception::raise(isc_bad_tpb_form,isc_arg_end); }
// .... }//for
// .... }// GDS_START_MULTIPLE
----- Additional proposal: change the type of TEB::teb_tpb to const UCHAR*
Thanks
Sorry, something went wrong.
Also:
if(vector==NULL) { Firebird::status_exception::raise(isc_bad_trans_handle,/* Do we need new error code here ? */ isc_arg_end); }
assignee: Alexander Peshkov [ alexpeshkoff ]
Commented by: @AlexPeshkoff
Appropriate tests are added. Cause none of AVs can be used for remote attack, no use backporting.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.5 Alpha 1 [ 10224 ]
status: Resolved [ 5 ] => Closed [ 6 ]
QA Status: No test
AlexPeshkoff
No branches or pull requests
Submitted by: @ibprovider
AV samples
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, 32000 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , valid_pointer_to_tpb)
I think, need write code like
if(tpb_length<0)
{
// ERROR
}
if(tpb_length!=0 && tpb==NULL)
{
// ERROR
}
Commits: 48e9858
The text was updated successfully, but these errors were encountered: