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

bhyve: avoid side effect in assertion #1244

Closed
wants to merge 1 commit into from

Conversation

khorben
Copy link
Contributor

@khorben khorben commented May 17, 2024

An assert() was setting the error variable instead of checking it.

Reported by: Coverity Scan
CID: 1521431
Sponsored by: The FreeBSD Foundation

An assert() was setting the error variable instead of checking it.

Reported by:	Coverity Scan
CID:		1521431
Sponsored by:	The FreeBSD Foundation
@khorben khorben requested a review from bsdjhb as a code owner May 17, 2024 07:34
@bsdjhb bsdjhb added the ready label May 17, 2024
@emaste emaste added merged and removed ready labels May 17, 2024
@emaste
Copy link
Member

emaste commented May 17, 2024

f7d45c5

@emaste emaste closed this May 17, 2024
freebsd-git pushed a commit that referenced this pull request May 17, 2024
An assert() was setting the error variable instead of checking it.

Reported by:	Coverity Scan
CID:		1521431
Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Pull Request:	#1244
@bsdimp
Copy link
Member

bsdimp commented May 18, 2024

Yea. I wish we could push this to the submitter's branch to get this marked as merged... but so far all my attempts to do this after git-freebsd push have failed on other pull requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants