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

Add checks in get_net_param_from_list() for valid output domain. #230

Merged
merged 1 commit into from Jul 19, 2018

Conversation

Labels
None yet
Projects
None yet
3 participants
@ahf
Copy link
Member

@ahf ahf commented Jul 13, 2018

This patch adds two assertions in get_net_param_from_list() to ensure
that the res value is correctly within the range of the output domain.

Hopefully fixes Coverity CID #1415721, #1415722, and #1415723.

See: https://bugs.torproject.org/26780

This patch adds two assertions in get_net_param_from_list() to ensure
that the `res` value is correctly within the range of the output domain.

Hopefully fixes Coverity CID #1415721, #1415722, and #1415723.

See: https://bugs.torproject.org/26780
@coveralls
Copy link

@coveralls coveralls commented Jul 13, 2018

Coverage Status

Coverage increased (+0.001%) to 59.496% when pulling c9de65f on ahf:bugs/26780 into d2bd358 on torproject:master.

@torproject-pusher torproject-pusher merged commit c9de65f into torproject:master Jul 19, 2018
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment