You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor issue found by static analysis, function zfs_standard_error_fmt contains a switch statement and the ENOSPC and EDQUOT cases return immediately and unlike all other cases in the switch this does not perform the va_end(ap) call.
The text was updated successfully, but these errors were encountered:
The switch statement in function zfs_standard_error_fmt for the
ENOSPC and EDQUOT cases returns immediately and unlike all other
cases in the switch this does not perform the va_end call.
Perform a break which ends up calling va_end rather than retutning
immediately.
Found by static analysis with CoverityScan 0.8.5
Closesopenzfs#4900
Signed-off-by: Colin Ian King <[email protected]>
Minor issue found by static analysis, function zfs_standard_error_fmt contains a switch statement and the ENOSPC and EDQUOT cases return immediately and unlike all other cases in the switch this does not perform the va_end(ap) call.
The text was updated successfully, but these errors were encountered: