diff options
author | Richard Yao <[email protected]> | 2022-09-14 15:50:03 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-14 12:50:03 -0700 |
commit | 4a6e8b99f5171705466b5a9542b47a935cad793d (patch) | |
tree | d1e9f068d1bc7c200ea64fbba9952dc4ab8f43d6 /module/unicode | |
parent | d954ca19ba8b0c505e88a74a9681c4c81e7cfc57 (diff) |
Add assertion to dsl_dataset_set_compression_sync
Coverity pointed out that if we somehow receive SPA_FEATURE_NONE, we
will use a negative number as an array index. A defensive assertion
seems appropriate.
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Neal Gompa <[email protected]>
Reviewed-by: Allan Jude <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #13872
Diffstat (limited to 'module/unicode')
0 files changed, 0 insertions, 0 deletions