Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2022 00:14:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl
Message-ID:  <bug-262671-227-B5XIBTqtfS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262671-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262671-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262671

--- Comment #14 from Ed Maste <emaste@freebsd.org> ---
> why the `if` statement didn't work when the condition was in reverse order

The || operator performs short-circuit evaluation - if the first condition =
is
true the second is not evaluated. I am still curious why there's an extra N=
ULL
entry in your case. If you're willing I may have a patch in the future to s=
how
some diagnostic information for this case.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262671-227-B5XIBTqtfS>