Skip to content
New issue

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

fix(wallet_ffi)add null check for transport_type in create_comms_config FFI function #3215

Merged

Conversation

philipr-za
Copy link
Contributor

Description

The transport_type argument is not checked is it null before it is used in this method. This PR adds the check and appropriate error response.

How Has This Been Tested?

Not tested

Checklist:

  • I'm merging against the development branch.
  • I have squashed my commits into a single commit.

The `transport_type` argument is not checked is it null before it is used in this method. This PR adds the check and appropriate error response.
@aviator-app
Copy link
Contributor

aviator-app bot commented Aug 19, 2021

PR queued successfully. Your position in queue is: 3

@stringhandler stringhandler changed the title [wallet_ffi] Add null check for transport_type in create_comms_config FFI function fix(wallet_ffi)add null check for transport_type in create_comms_config FFI function Aug 19, 2021
Copy link
Contributor

@StriderDM StriderDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@aviator-app
Copy link
Contributor

aviator-app bot commented Aug 19, 2021

PR is on top of the queue now

@aviator-app aviator-app bot merged commit 7277009 into tari-project:development Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants