From 2bd866cc82f712da60d2323c1bc53d0c53711439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nora=20Dimitrijevi=C4=87?= Date: Thu, 25 Aug 2022 16:00:25 +0200 Subject: [PATCH] C++: improve change note and move to right place --- change-notes/2022-08-24-missing-check-scanf.md | 4 ---- cpp/ql/src/change-notes/2022-08-24-missing-check-scanf.md | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 change-notes/2022-08-24-missing-check-scanf.md create mode 100644 cpp/ql/src/change-notes/2022-08-24-missing-check-scanf.md diff --git a/change-notes/2022-08-24-missing-check-scanf.md b/change-notes/2022-08-24-missing-check-scanf.md deleted file mode 100644 index eb6478ac233..00000000000 --- a/change-notes/2022-08-24-missing-check-scanf.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -category: newQuery ---- -* Added a new query, `cpp/missing-check-scanf`, to detect `scanf` output variables that are used without a proper return-value check to see that they were actually written. diff --git a/cpp/ql/src/change-notes/2022-08-24-missing-check-scanf.md b/cpp/ql/src/change-notes/2022-08-24-missing-check-scanf.md new file mode 100644 index 00000000000..d8e5384422e --- /dev/null +++ b/cpp/ql/src/change-notes/2022-08-24-missing-check-scanf.md @@ -0,0 +1,4 @@ +--- +category: newQuery +--- +* Added a new medium-precision query, `cpp/missing-check-scanf`, which detects `scanf` output variables that are used without a proper return-value check to see that they were actually written. A variation of this query was originally contributed as an [experimental query by @ihsinme](https://github.com/github/codeql/pull/8246).