a3b62f8bc1
`ncuses-6.3` added printf-style function attributes and now makes it easier to catch cases when user input is used in palce of format string when built with CFLAGS=-Werror=format-security: spdk_top.c:1135:34: error: format not a string literal and no format arguments [-Werror=format-security] 1135 | mvwprintw(win, row, col, tmp_str); | ^~~~~~~ Let's wrap all the missing places with "%s" format. Signed-off-by: Sergei Trofimovich <slyich@gmail.com> Change-Id: I84227668ff698ae2f327a7fb5d87ce0a407ab50d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10300 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
iscsi_tgt | ||
iscsi_top | ||
nvmf_tgt | ||
spdk_dd | ||
spdk_lspci | ||
spdk_tgt | ||
spdk_top | ||
trace | ||
trace_record | ||
vhost | ||
Makefile |