mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +01:00
2.9 KiB
2.9 KiB
0.0.9
New Queries
- Added a new query,
cpp/open-call-with-mode-argument, to detect whenopenoropenatis called with theO_CREATorO_TMPFILEflag but when themodeargument is omitted.
Minor Analysis Improvements
- The "Cleartext transmission of sensitive information" (
cpp/cleartext-transmission) query has been further improved to reduce false positive results, and upgraded frommediumtohighprecision. - The "Cleartext transmission of sensitive information" (
cpp/cleartext-transmission) query now finds more results, where a password is stored in a struct field or class member variable. - The
cpp/cleartext-storage-filequery has been improved, removing false positives where data is written to a standard output stream. - The
cpp/cleartext-storage-bufferquery has been updated to use thesemmle.code.cpp.dataflow.TaintTrackinglibrary. - The
cpp/world-writable-file-creationquery now only detectsopenandopenatcalls with theO_CREATorO_TMPFILEflag.
0.0.8
New Queries
- The
securitytag has been added to thecpp/return-stack-allocated-memoryquery. As a result, its results will now appear by default. - The "Uncontrolled data in arithmetic expression" (cpp/uncontrolled-arithmetic) query has been enhanced to reduce false positive results and its @precision increased to high.
- A new
cpp/very-likely-overruning-writequery has been added to the default query suite for C/C++. The query reports some results that were formerly flagged bycpp/overruning-write.
Minor Analysis Improvements
- Fix an issue with the
cpp/declaration-hides-variablequery where it would report variables that are unnamed in a database. - The
cpp/cleartext-storage-filequery has been upgraded with non-local taint flow and has been converted to apath-problemquery. - The
cpp/return-stack-allocated-memoryquery has been improved to produce fewer false positives. The query has also been converted to apath-problemquery. - The "Cleartext transmission of sensitive information" (
cpp/cleartext-transmission) query has been improved in several ways to reduce false positive results. - The "Potential improper null termination" (
cpp/improper-null-termination) query now produces fewer false positive results around control flow branches and loops. - Added exception for GLib's gboolean to cpp/ambiguously-signed-bit-field. This change reduces the number of false positives in the query.
0.0.7
0.0.6
0.0.5
New Queries
- A new query
cpp/certificate-not-checkedhas been added for C/C++. The query flags unsafe use of OpenSSL and similar libraries. - A new query
cpp/certificate-result-conflationhas been added for C/C++. The query flags unsafe use of OpenSSL and similar libraries.
0.0.4
New Queries
- A new query
cpp/non-https-urlhas been added for C/C++. The query flags uses ofhttpURLs that might be better replaced withhttps.