aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tftp.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-02-03 11:56:37 +0100
committerGitHub <noreply@github.com>2021-02-03 11:56:37 +0100
commita772e18977ec215dbf39cfaa259d6f890f7bd5a0 (patch)
treec9fa2e4fac6f249778dd94d4444037bd724d2cb5 /src/lib/protocols/tftp.c
parentd6684f4b4c2654edadca16e208a95865ce94d7ef (diff)
Fix a warning (#1125)
Introduced in 5f7b9d802 reader_util.c: In function ‘process_ndpi_collected_info’: reader_util.c:1148:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=] 1148 | sizeof(flow->ssh_tls.client_requested_server_name), "%s", | ^~ reader_util.c:1147:5: note: ‘snprintf’ output between 1 and 256 bytes into a destination of size 64 1147 | snprintf(flow->ssh_tls.client_requested_server_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1148 | sizeof(flow->ssh_tls.client_requested_server_name), "%s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1149 | flow->ndpi_flow->protos.tls_quic_stun.tls_quic.client_requested_server_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'src/lib/protocols/tftp.c')
0 files changed, 0 insertions, 0 deletions