[Bug 262671] Kernel panics after a invalid SNDCTL_MIXERINFO ioctl

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Mar 2022 00:14:30 UTC

--- 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 NULL
entry in your case. If you're willing I may have a patch in the future to show
some diagnostic information for this case.

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