commit | e76569f863125e48b2d8567bd9d1ba74e729bc24 | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Thu May 03 14:48:44 2018 -0400 |
committer | stephensmalley <sds@tycho.nsa.gov> | Tue May 08 08:11:58 2018 -0400 |
tree | c9b45070ed0e06d16bde8a5c90ceb28df739c047 | |
parent | 8467979d4150c622909fdbf8918f0c3b30952054 [diff] |
libselinux: avcstat: fix build warning Fix the following build warning. avcstat.c: In function ‘main’: avcstat.c:113:4: error: ‘strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation] strncpy(avcstatfile, optarg, sizeof avcstatfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>