HomeFreeBSD

Add CodeQL mismatched dsl_dataset_hold/_rele pairs check

Description

Add CodeQL mismatched dsl_dataset_hold/_rele pairs check

This check is currently limited to checking mismatches that occur in the
same stack frame. It does not detect across stack frames.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Richard Yao <richard@ryao.dev>
Closes #17352

Details

Provenance
Richard Yao <richard@ryao.dev>Authored on Jul 30 2025, 4:45 PM
GitHub <noreply@github.com>Committed on Jul 30 2025, 4:45 PM
Parents
rGf70c85086bbd: BRT: Fix ZAP entry endianness
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGce9c3b4b94be: Add CodeQL mismatched dsl_dataset_hold/_rele pairs check (authored by Richard Yao <richard@ryao.dev>).Jul 30 2025, 4:45 PM