4 void func (char *input1
, char *input2
, char *input3
)
10 if (strlen(input1
) > 4)
14 if (10 > strlen(input2
))
17 if (strlen(input3
) <= 4)
21 * check-name: Smatch strlen test #2
22 * check-command: smatch sm_strlen2.c
25 sm_strlen2.c:12 func() error: strcpy() 'input1' too large for 'buf1' (5 vs 4)
26 sm_strlen2.c:15 func() error: strcpy() 'input2' too large for 'buf2' (10 vs 4)
27 sm_strlen2.c:18 func() error: strcpy() 'input3' too large for 'buf3' (5 vs 4)