mirror of
https://github.com/github/codeql.git
synced 2026-04-09 00:54:00 +02:00
1.2 KiB
1.2 KiB
1.4.0
New Queries
- Added a new quality query,
java/empty-method, to detect empty methods. - The query
java/spring-boot-exposed-actuatorshas been promoted from experimental to the main query pack. Its results will now appear by default, and the query itself will be removed from the CodeQL Community Packs. This query was originally submitted as an experimental query by @ggolawski.
Major Analysis Improvements
- Updated the
java/unreleased-lockquery so that it no longer report alerts in cases where a boolean variable is used to track lock state.
Minor Analysis Improvements
- Fixed a false positive in "Time-of-check time-of-use race condition" (
java/toctou-race-condition) where a field of a non-static class was not considered always-locked if it was accessed in a constructor. - Overrides of
BroadcastReceiver::onReceivewith no statements in their body are no longer considered unverified by thejava/improper-intent-verificationquery. This will reduce false positives fromonReceivemethods which do not perform any actions.