https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71501 Bug 71501 depends on bug 49905, which changed state.
Bug 49905 Summary: Better sanity checking on sprintf src & dest to produce warning for dodgy code ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED