[PATCH] D111833: [clang] Fortify warning for scanf calls with field width too big.

Michael Benfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 28 09:34:05 PDT 2021


mbenfield added a comment.

Thanks for reverting. Here's another try.

This just shouldn't be warning on any specifier other than %s, so I fixed that.

As far as not pointing at code for the second warning, I verified manually that it does now point at code even when warning twice, but it doesn't seem to be feasible to include a test for that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111833/new/

https://reviews.llvm.org/D111833



More information about the cfe-commits mailing list