[all-commits] [llvm/llvm-project] d51a82: Revert "[clang] Fortify warning for scanf calls wi...
Michael Benfield via All-commits
all-commits at lists.llvm.org
Mon Nov 1 12:37:51 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d51a8296d374122c937df708f5fa1500218baa5c
https://github.com/llvm/llvm-project/commit/d51a8296d374122c937df708f5fa1500218baa5c
Author: Michael Benfield <mbenfield at google.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaChecking.cpp
R clang/test/Sema/warn-fortify-scanf.c
Log Message:
-----------
Revert "[clang] Fortify warning for scanf calls with field width too big."
This reverts commit 5a8c1736289f2b1df10df38e7a9e4d208a7586a6.
The warning needs to correctly handle * specifiers (which are to be
ignored).
More information about the All-commits
mailing list