From a31e18f26451237d7a7c29e63c5074770822138b Mon Sep 17 00:00:00 2001 From: Pavel Grunt Date: Fri, 18 Nov 2016 11:45:40 +0100 Subject: [PATCH] syntax-check: Skip strncpy check strncpy used in reds_init_socket() has destination NUL terminated Acked-by: Frediano Ziglio --- cfg.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/cfg.mk b/cfg.mk index 3e5d345d..66235eee 100644 --- a/cfg.mk +++ b/cfg.mk @@ -42,6 +42,7 @@ local-checks-to-skip = \ sc_prohibit_stat_st_blocks \ sc_prohibit_magic_number_exit \ sc_prohibit_strcmp \ + sc_prohibit_strncpy \ sc_prohibit_undesirable_word_seq \ sc_root_tests \ sc_space_tab \