mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
1.6 KiB
1.6 KiB
7.1.2
Minor Analysis Improvements
- Java extraction is now able to download Maven 3.9.x if a Maven Enforcer Plugin configuration indicates it is necessary. Maven 3.8.x is still preferred if the enforcer-plugin configuration (if any) permits it.
- Added a path injection sanitizer for calls to
java.lang.String.matches,java.lang.String.replace, andjava.lang.String.replaceAllthat make sure/,\\,..are not in the path.
Bug Fixes
- In
build-mode: nonewhere the project has a Gradle build system, database creation no longer attempts to download some non-existent jar files relating to non-jar Maven artifacts, such as BOMs. This was harmless, but saves some time and reduces spurious warnings. - Java extraction no longer freezes for a long time or times out when using libraries that feature expanding cyclic generic types. For example, this was known to occur when using some classes from the Blazebit Persistence library.
- Java build-mode
noneno longer fails when a required version of Gradle cannot be downloaded using thegradle wrappercommand, such as due to a firewall. It will now attempt to use the system version of Gradle if present, or otherwise proceed without detailed dependency information. - Java build-mode
noneno longer fails when a required version of Maven cannot be downloaded, such as due to a firewall. It will now attempt to use the system version of Maven if present, or otherwise proceed without detailed dependency information. - Java build-mode
nonenow correctly uses Maven dependency information on Windows platforms.