Improved message invalidscanf: Removed misleading example from verbose message
This commit is contained in:
parent
b3877a8ba0
commit
da34883770
|
@ -428,8 +428,7 @@ void CheckIO::invalidScanfError(const Token *tok)
|
|||
reportError(tok, Severity::warning,
|
||||
"invalidscanf", fname + "() without field width limits can crash with huge input data.\n" +
|
||||
fname + "() without field width limits can crash with huge input data. Add a field width "
|
||||
"specifier to fix this problem:\n"
|
||||
" %s => %20s\n"
|
||||
"specifier to fix this problem.\n"
|
||||
"\n"
|
||||
"Sample program that can crash:\n"
|
||||
"\n"
|
||||
|
|
Loading…
Reference in New Issue