From patchwork Wed May 31 20:14:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Smalley X-Patchwork-Id: 9758043 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C36B260390 for ; Wed, 31 May 2017 20:10:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7251283FF for ; Wed, 31 May 2017 20:10:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAA882842B; Wed, 31 May 2017 20:10:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (emsm-gh1-uea10.nsa.gov [8.44.101.8]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AD33283FF for ; Wed, 31 May 2017 20:10:48 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.39,276,1493683200"; d="scan'208";a="7622959" IronPort-PHdr: =?us-ascii?q?9a23=3AMNPaDBNjeucxSVNM1IIl6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP37oMbcNUDSrc9gkEXOFd2CrakV1KyK7eu5BTdIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZbF/IA+5oAjQucUanIRvJ6gswRbVv3VEfP?= =?us-ascii?q?hby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnD?= =?us-ascii?q?UBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulS?= =?us-ascii?q?wIOSQ58GXKgcJuiqxVrg+qqxhmz4LKfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDI2y?= =?us-ascii?q?bIUBCOgOPehXoIbhqFUOtRmzCRSiCezx0T9FnWP20K4g3ug9CwzKwA4tEtQTu3?= =?us-ascii?q?rUttX1M6ISXPiowqnU0zrDd/NW1in76IPVbx4hpOuDXbZ0ccXPyUgkCgTIjk6N?= =?us-ascii?q?poz+JD6VyuQMvHSb7+pnT+6vjXUnpBtrrjigwccslJDEi4QIwV7H7SV02Js5KN?= =?us-ascii?q?K3RUJhYdOoDYFcuz+VOodoWM8uXmdlszsgxLIco560Zi0KxYwixx7YdvOIbZCF?= =?us-ascii?q?4gnmVOaNOTd4g29leK6nixay70egzur8W9Go0FlQtCpFk8TMtmsX2xzP6smIVv?= =?us-ascii?q?t9/kC71TaJyw/T8f1LLVoxlaraL54t2r8wlpwNvkTfBiL6hUr7gaCMekgk5+Sk?= =?us-ascii?q?8frrb7r4qpOGKoN4kgT+Pb4vmsy7D+Q4KA8OX22D9OSnyrLj+Uz5QLNXjvw5i6?= =?us-ascii?q?XWq5faJdkdpqGlHQBVyZ0u6wq/Dji60NQYmmMLLFReeB2dlYTpNFbOIO7gAfel?= =?us-ascii?q?n1usiCtrx+zBPrD5AJXNKX7Dn639fbZ98UFczhE+zdJY55JSD7EOOunzWlPvu9?= =?us-ascii?q?zCFR81KQu0w/zoCN9lzIMRRXqPArOFMKPVqVKI5OAvLPOQa48Wozb9LP4l5//w?= =?us-ascii?q?jXIil18debSp3JQMZ3ClGPRmP1iZbWDrgtcbHmcAphA+Q/DyiF2eTT5TYG6/X7?= =?us-ascii?q?oi6T4gFo2mC4bDRpyqgLGa3Se0AINZaX5cBlCLC3foeJ2OW+0QZyKKPs9hjjsE?= =?us-ascii?q?WKC8RI8m0xGushL1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kyCSr7hvxsa1DvuHm?= =?us-ascii?q?VEyzA/azGlpI/5nwdhhWKDMnlztmHWedx1xRvF49zcX/FR1CIcRCZkkTnXGkS8?= =?us-ascii?q?P96x8NWIipjMr+G+WHilVpBIbSbryoaAuzeh6m1xHR2zhfazlcP7EQIiyy/0y8?= =?us-ascii?q?FqVTnUrBb7eoTryaW6Pv57fklvHl/w8dZ1GoF5kos2i5EdwnwahpST/XUdi2fz?= =?us-ascii?q?Ns9X2aXkbHoCXTQL2cLa4BD52E1/KXKE34b5VnSGwst9ftW6eX0Z2iY878BMFa?= =?us-ascii?q?eV46dJnTBtolq5qwLRYORyniwHxfso9nEan/kDuBAxwSWFHrASAU5YMDT2lxSP?= =?us-ascii?q?69C+qLtYZHyzfri32ktzhsuhDKyerQFHQnr5fY0iHSBo5MVlLF3MyGHz6p3jeN?= =?us-ascii?q?TIddIcrACUkxPag+dPMp4+jf0KhS57OWL6u30o0Os7gQBo3ZG9oIeLMWNt87yl?= =?us-ascii?q?AhRALD36e9sT+i3xjaZZhsuW3J6gHpN6GjgQX5vnU/SoECkUtfv5KwaCCjo8qm?= =?us-ascii?q?2UGbDHBw+Q9F9mr27TE5CsL3yXPGMWzchmRBaDPExQmgYUXCkkkZ4jDQ2q2dfh?= =?us-ascii?q?f1lj5jAK/FL4sRxMyv9yNxbjTGjfqgCoai07SJeBNhZW6B9N51vNO8yE8u1zBz?= =?us-ascii?q?1Y/oGmrAGVNGybYRlHAHoXWkyCGl/jPqOi5d/e/OiEHuC+NefBYa2SqexCUPeF?= =?us-ascii?q?3Yqv3ZF7/zaILciAInhiD+E720ZaU3B2AcLZly8ISywNmCLHd9Sbqwuk+i1rss?= =?us-ascii?q?C/9+zmWAHv5IuLFbRfKtBv+xe4gaeNKeGQmDp5KTZf1pMJ23DE0r4f00AOiyt2?= =?us-ascii?q?bTmiDawAtTLRTKLXgqJXAQQUayVvNMtP6qIxxQdNNtDGhdPyzL53lOY1C01CVV?= =?us-ascii?q?zjhM6medAK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ldISsdDnt7MSS24bbavQAqgPyeXNss?= =?us-ascii?q?ZXcaRIQEPGosWMKmgy5Zo2hADD6v3+IC1geC6z78piLNDDjzdNdsePCUZRZwB9?= =?us-ascii?q?6s4jU/77K6iVjJ/ZXCP2v6L8htusfT6eMGoJaKE+5bQqV4s0fbnYlYW2GmXnXR?= =?us-ascii?q?EdGrPZjwaogtbdvyCnqgVFywlS41Rd/rPNmxNqiInR3oRYFMvYmYxjAiNdWyFj?= =?us-ascii?q?cCGxdwvOwD66V8ZRUfbJYhZx7nqRg+PbSlIAiEytWuX3qtKTxOQvlDzOW6YrtX?= =?us-ascii?q?zzYsbu6603YvU5A6zumt/kEWXp0KiA/Rxeq7bYlETSfzAmBdexnIpSchmGhhLP?= =?us-ascii?q?w9wuEjwB7TsFkcND6KdOp1aGxEod48BFWSIWloBWoiXVOci5TM4hK01bAI4yRd?= =?us-ascii?q?h8pU0fFCsHXmpJDfZDOsV7C1pprNtiohbd4mo6p3MYP5OcaJr5LekSbZTJXJvA?= =?us-ascii?q?2FTTS2F/xEldhMOChYWuVHmXk5OcwavopM8VE+Wdk4J7FUEqYju66qZiR+DS4J?= =?us-ascii?q?1yAZTYOB0CYFguem1LvQjg2Qf4g6MBwYrJVChcMQUzRwYiMfuKCjV4LWl2ufSm?= =?us-ascii?q?YTOQkd8B5C6R4HmIJrYu/l54/IQ4NWxD5Nv/J4SC3LGYd091HjUGGZnUD4SOm9?= =?us-ascii?q?k+yuxQ9d0PDs3cMHVxNkFUddwOJWlk8pKL5pMakQopDFvSOIdU/gu2Lt0uSmLk?= =?us-ascii?q?FLycLIb134EJbFtW3kXy0G43IUX4hPx2rEGJQOiQp2crgrq0tIIICnfEb+6Dgk?= =?us-ascii?q?x4VmH7m4ScCryUwqrWwDRyuwFdpOFf1mukrNWDJ5e5CrtInlO5JKT25e4pGSt1?= =?us-ascii?q?dZkERoMy6405VcKNpA4j8SUzdRvzqRptyySNdM2cVuFZ8DPs9/u2vhGKNDIJWR?= =?us-ascii?q?u3o2urj1xX/D9TE8t1O6xDuoFq+9SOJZ+HYeFRs1KGSErUkvFPAs8mbU8lDCqF?= =?us-ascii?q?x0+P1bBreXh0VrvDl9BoxOBipO1X29NVtzVmRGs+NAJKTWaMFcQvgyZR6zOxMl?= =?us-ascii?q?D/Im2VKG/V1sl3fjfyNyrhda+zzaXwQsSSkVhbLtlCYCqs27PD8VUIhEbTM/YC?= =?us-ascii?q?fZMwibgzxYvA5Da0F2XJAUGtZF9KsB3YRO+srNVF2hJjwbUxx6LgI3z/5fmlBZ?= =?us-ascii?q?sEmCfiDdFwWof+7VshJrZceRsNKpLPPh8QdFjYPorvs1+LgdSH29hwKtW8zeoJ?= =?us-ascii?q?HhudGQsEuBarv4OfWmYXDdVDjMkQywhbA8ApbR8SjcLBZXJptnxXcqepXuFWnL?= =?us-ascii?q?PRFaKK0BPEpbSbp2adNYreBGf8VkYroG+bdxBhKbQRPiAJavo+dbIVbTXzveMz?= =?us-ascii?q?6M8ui4oYLN87PRV/TvZsuRyHnZWa53OIl16SXjEbfwzYBe4lb22utq9k5iUVjG?= =?us-ascii?q?KDyBo878KQMX/8SibUzivoAzHTzKHphwlmbtxltaeMoTWSGq944YyJxB4nbqVe?= =?us-ascii?q?14ylTzsPFV97R89Yk3+a5mxtmpKqrJNPRatVNnAgKOCQV095UtB2x/SH5NYuML?= =?us-ascii?q?L/fRZ6sZh9j0q+/rD6wX9AGV++tBZNvCPU7Bns2/BS+ASRxYhggOsyUXLg2C2P?= =?us-ascii?q?6ZgK97VdyqpfDn1U435VixMAIGxqh35YiY4qqIuPPXbxzJwLgGQKfqXMTzrq8o?= =?us-ascii?q?u0yI+/0pj7sOenFxYw27EegSSs8dyX3mzaAx1y4sFNnDH7348v5ZS305hi7gm4?= =?us-ascii?q?x6H1gOGPMbB7yL/YpEnmc/huPWKMYbcrxYlWaJDh6kFaUOyXi15CuLOGNlmA3B?= =?us-ascii?q?0wnsQWOv61/7tSB4QTbNz9fnlkpaSLy3CFxPU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ReMNsSO?= =?us-ascii?q?nYoXBN9YJgN6gPMUCSpJP0qDdItFc2AAguZL8rsDNackjOnAtIW6f7o7MAjhUT?= =?us-ascii?q?UcR5uEBWA26wPnwx5ybfX6RPkKaREOAV8imUTqEWVUVoMz9xQxSx2Jp0YLulh/?= =?us-ascii?q?FHsmRBniNmu/gnyDlmSRSzuCH2oKINwz0g8qmitDodoXxFUvmekyDQBFVM0PsK?= =?us-ascii?q?lrwcB2//51KzZncDbY3y4KRoJMn7+okh5m4wYRM9cCEcWuSgES7whbuSAoOTqN?= =?us-ascii?q?JcmAKNuMLWYL+xKigSNrI9xQj/SHh91gjegQtn8WoKQjWm998kJ4S9NN07xiqp?= =?us-ascii?q?B2jUblIM7b5IsMfrs14EUvc2Y0t7wGp/ysiHWjENRMvXFmY0kAgrc2NEfYlH6R?= =?us-ascii?q?8HCqYogzGIvrJc8gETejfUHZyv+pPMksfQxXk9UdBqy3rUpqKbiJMq3nlllsh6?= =?us-ascii?q?7yGUvnQdafDYX9VqAnftyodV0fb+aOm1suAbVItmz6ysUPAGMsmk92q5xpFqWk?= =?us-ascii?q?u+y7QFGFq5Nu4DyavBXyejV2KYRfyBc3KQkDYhLk7y+R6oI0U1aMdKr049KuzC?= =?us-ascii?q?hppdlw39T7x5XSCQpV7HzGw5L+wWbQU2uJ2oewYSVu4ee/CcJfQywP05EFYMc3?= =?us-ascii?q?7JHS5tBu+qsF6igIt7NGtk4UngZ+Ti7BzmOsOIGhYYCY7asoJx+fuiS2KEOH9g?= =?us-ascii?q?zx5yPE5v+ufdDVsxtehcc5CPktjWndh71/AKd+t1Oy0nptETgp5j6ZWT0MqSah?= =?us-ascii?q?7e0JDyJc3Or/iDB/3fyFgqen1EUrUHfAz5/YI6PsQ2W7fLB7tWoQwcBbQmQJwm?= =?us-ascii?q?L2rx+r97LAdycg7Jeru5mcjrpuOOZptRuXDW9FYwIznGtx0E0Py0QhRxb4q2iH?= =?us-ascii?q?XqPJAwWjVBosVjCxt+BotPGt8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YDAwkBARcNAiIEAgIDAVMZBYgFToFFDawwgWw6JgKLKAwBJYELjCWCaH2CRoJ?= =?us-ascii?q?gBZ4jkxsNiyKGVZROWIEKJwkCHwghD4VGH4F/WocWgj0BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 31 May 2017 20:10:47 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v4VKAkYn011277; Wed, 31 May 2017 16:10:47 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id v4VK9x2e071063 for ; Wed, 31 May 2017 16:09:59 -0400 Received: from moss-pluto.infosec.tycho.ncsc.mil (moss-pluto [192.168.25.131]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v4VK9ubS010750; Wed, 31 May 2017 16:09:58 -0400 From: Stephen Smalley To: selinux@tycho.nsa.gov Subject: [PATCH 2/3] libsemanage: Fix snprintf warnings from gcc 7 Date: Wed, 31 May 2017 16:14:19 -0400 Message-Id: <20170531201420.25226-2-sds@tycho.nsa.gov> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170531201420.25226-1-sds@tycho.nsa.gov> References: <20170531201420.25226-1-sds@tycho.nsa.gov> MIME-Version: 1.0 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: Stephen Smalley Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Fixes the following warning from gcc7 by increasing the buffer size to PATH_MAX. semanage_store.c: In function ‘semanage_remove_directory’: semanage_store.c:819:30: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] snprintf(s, sizeof(s), "%s/%s", path, namelist[i]->d_name); ^~ semanage_store.c:819:3: note: ‘snprintf’ output 2 or more bytes (assuming 257) into a destination of size 255 snprintf(s, sizeof(s), "%s/%s", path, namelist[i]->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Stephen Smalley --- libsemanage/src/semanage_store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsemanage/src/semanage_store.c b/libsemanage/src/semanage_store.c index 5642772..6158d08 100644 --- a/libsemanage/src/semanage_store.c +++ b/libsemanage/src/semanage_store.c @@ -814,7 +814,7 @@ int semanage_remove_directory(const char *path) return -1; } for (i = 0; i < num_entries; i++) { - char s[NAME_MAX]; + char s[PATH_MAX]; struct stat buf; snprintf(s, sizeof(s), "%s/%s", path, namelist[i]->d_name); if (stat(s, &buf) == -1) {