From patchwork Mon Dec 26 21:10:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9488813 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 5E98660838 for ; Mon, 26 Dec 2016 21:12:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C3601FF1D for ; Mon, 26 Dec 2016 21:12:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3ED941FF8F; Mon, 26 Dec 2016 21:12:45 +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 6BF6C1FF1D for ; Mon, 26 Dec 2016 21:12:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.33,413,1477958400"; d="scan'208";a="2280363" IronPort-PHdr: =?us-ascii?q?9a23=3AGu+2WhP3Ko4gwp58iwIl6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP//oMbcNUDSrc9gkEXOFd2CrakV0KyH6eu5BTBIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZb1/IA+yoAnPucUanIRvJ6kswRbVv3VEfP?= =?us-ascii?q?hby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnD?= =?us-ascii?q?UBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulS?= =?us-ascii?q?wIOSQ58GXKgcJuiqxVrg+qqxhmz4LJfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDI2y?= =?us-ascii?q?bIUBCOgOPehAr4T/ulcDoxSxChWjCuzx0T9FnWP20K8g3ug9CwzKwBIsEtQTu3?= =?us-ascii?q?rUttX1M6ISXPitwqnJ0TrDaPdW1i3m6IPVcR4hpvaMXalrccHMzkQvEQLFgUmX?= =?us-ascii?q?qYzhJTyVzf4Bs2mc7+pnTuKvkHUqqwR+rzmg3MssjZPJho0Mx13C6C53w541KM?= =?us-ascii?q?WlREN0btOoCptduzyAO4doTc4uXXtktDsixrAIpJK3ZioHxI46yxPcZPGLaYaF?= =?us-ascii?q?7x3lWe2MOzl3nmhld6i6hxuq9EigzfDzWdes3VZRqypFjsHMtncQ1xzP8sSHSu?= =?us-ascii?q?Vy/kOm2TuXywDc8PtEIUEplarAMZIh3r4xmYYTsUTEBCP2nln5jLSKeUk+/+io?= =?us-ascii?q?6uDnbq3npp+aKYB0lhnzPrkhl8GwG+g1MhUCU3KF9emzyrHv51D1TK1PjvIsk6?= =?us-ascii?q?nZtJ7aJd4cpq68GwJVyZgs6xK+DzegzdQZkmALI0lCeBKaiYjmJ0/BIOvjAPej?= =?us-ascii?q?g1WjjDdrx/fcMr3nGZXCNGLPkLjmfbZj80Jc0hY8zchD55JIDbEMOOrzVVHqu9?= =?us-ascii?q?PGCB85MhC0w+H8BdV8yIwRR3yADrWeMKPIvl+C/vgvLPWUZI8JpDb9LOAo6OPp?= =?us-ascii?q?jX8/n18SYLem3Z8WaH2jBPtpPV+ZYX32jtcGC2cKsRI0TPb2h12aTT5Te3GyUr?= =?us-ascii?q?oh6TEnEo2mF5zOSZyqgLyEwCi0BIZWZnxcBlCKD3joa52OW+0QZyKKPs9hjjsE?= =?us-ascii?q?WKCgS48nyRGhqgv6xKRiLuXK5i0Yr5Li2cNy5+3Lix4y8zl0AN6c02GJVG50mW?= =?us-ascii?q?wJSyUx3KBlrkx30k2D3rRgg/xECdxT4OtEUwc7NJ7byex3ENXyWgbYcteITlaq?= =?us-ascii?q?WNOmDisrTtIywt8OfVhyF8+kjh/dwyqgG6UVmKCTBJwo7qLc2GD8KNhly3nczq?= =?us-ascii?q?khjkImT9BXNWK8nK5/9hPTB5bNk0qDi6mla74Q3CnX9GeM1WCOpl1XUBZsUaXZ?= =?us-ascii?q?WnASfkXXrdX95kPHUbCuE68qMgVfxsGfLatKcMfmjU1cRPfkOtTRfX6+m3uqCR?= =?us-ascii?q?aP3LOMY5Lge38B0yXFFEgEjwcT8G6INQgkHCihpX7RDD11FV/0ZkPs6eh+pGqg?= =?us-ascii?q?Tk461AGGdUph16C6+hQNn/yTV+sT3q4YuCcmszh0H0yy39HRC9qdvAdhf79TYd?= =?us-ascii?q?A64Fdaz27ZsBZ9PpO4JaB4mlEeaxh3v1/p1xhvEIpPjNIqrHI0wwpoMq+Xyk9O?= =?us-ascii?q?dzaC0ZD3IL3XJXH4/AqzZK7OxlHezNGW978T5/sir1XsohqpFlYi8nVgyNRVyG?= =?us-ascii?q?eT5pTUAwoUTZLxU1w4+wJ8p77Efik3/5nU2mF0Mamorj/C3MokBOs7xRake9df?= =?us-ascii?q?N7iJFAvvE80GAMiuLfYll0KubhIeM+BY7LQ0MN++d/uaxK6rO/5tnCmojWRd54?= =?us-ascii?q?B9yV6M+jFnSu7O2JYEzfSY0RGBVzvmileurNz3k5heZT4OBmq/1TTkBIlJa6x8?= =?us-ascii?q?Z4kLDXuuLNOtxtVlnJPtRWBX9ES4CFMb3c+lYx2Sb0by3QdIz0QYvWSnmTekzz?= =?us-ascii?q?xzizwpsreQ0zHPw+v4cBoKIXJERG5njVjwO4e0lMwaUFKubwc3iBuv/Vz6yLRD?= =?us-ascii?q?pKRjM2nTRl9Ffy73L2FmVqu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PzzLF1leM6C1FfWl?= =?us-ascii?q?D7ncGpf8MKKXmnNFzbHEaLKKiGJTrTzsHte6+9R6dcjOBOuB20vjaaE1TuMS6f?= =?us-ascii?q?mDnsTRyvNvtMjC6DNhxEpI69agptCXTkTN/+bB27KsV4jSUuwbAviHPKNHQcMS?= =?us-ascii?q?Ngc0NDr72Q6zlXgvNjFGxA9HVlKfOImyGD7+nXMpwWq+dkAjxol+JG53Q306Ba?= =?us-ascii?q?4zpDSPxxmSvStcJuo0q8numU1DVoTABCqi1Vi4KPvEViP7jZ95ZbVHnY/BMN93?= =?us-ascii?q?iQCw8Qq9prENLvp7tQyt/JlK7pLzdC6d3U99MGB8fIMMKHLGYhMR3xFTHPDQsF?= =?us-ascii?q?QjmrNWfEikNAjv6d7XyVoYI8qpT2n5oOULBbXkQvFvwGEkRlAMACIJBvUzw+nr?= =?us-ascii?q?6UltAI6mSloRnWXMVVoJbHVveIDvXuLDaWlr5EZhQSzbP/N4QTOZXx21Z+ZVli?= =?us-ascii?q?gITKB03QUMhRoi1maw84ul9N8H9/T2It3ULqcRmt4HgNGv63hRM5lgx+YeEx+z?= =?us-ascii?q?j2+Fc3OkDGpC0un0ktgd/lmyyecCbtLKesWoFbEyr0t1QxMpP8RgZ6dxaykFdh?= =?us-ascii?q?NDfFW7JRlaVveXpsiA/GtptFAeRcQrFcYB8M2fGXYO0l0VJCpSq9wU9K/ujFCZ?= =?us-ascii?q?x5lAs2a5GsqWlA2wFibNIvI6zfOrZJxEBKhq2Spi+oyvwxwAgGKkYX7mySYzAH?= =?us-ascii?q?t1YSNrY6Jyql5fdj6Q2YmzRef2gMWeIqouh0+UI9IeiAyTzv06JbIECrK+OfN7?= =?us-ascii?q?+Zu3THlcOQX1w/zF0Il0hY8rhtysosaVCUV1oozLqfDBQGK9bNKRxPb8pT6HjS?= =?us-ascii?q?fTyCsePTzpJpJ4+9DPznTfeStKYIhUKpBBsmH58S4csbEZmsylvXLdn8Ib4e0x?= =?us-ascii?q?ot5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mZlnArD?= =?us-ascii?q?0xTtQWO38F/2rDN3QSrWwNfliUpZTL63BV1dXyCxI093rCuPPBb0tNrwoak17l?= =?us-ascii?q?s5MmrqtNKXk2uuJa1YEtbjJNOGJyk0v1UXgIc3RtOxxYARAcC9L8sJ8HFicvve?= =?us-ascii?q?7HumkyBco6dGg4re5t+a+vDMEHa9kaKVsLSNyypeynQiulE/8N+gPOnU59KWW/?= =?us-ascii?q?Soy3oRTyBntgvHWx64sb3br1YROUCR0UfLnoIKPstD0nkjykHm/vUjT84v9AVD?= =?us-ascii?q?DIbPeekOpTfpODv72Vyfec44VjGC0ztLGVL4CVx4GK862GLss8LGi2zd+1gpRo?= =?us-ascii?q?ZqcUzomwB3Dos/KUI361gX2TAPEQ4TZhCHFLuoH1jqLZMYVUgfbhSKxKK6dboq?= =?us-ascii?q?0kBozbOv4eDSYfZ6B6UTKvZXlhSOk0RDGpIKra0eR6pxe1tG9K7SpgXvEIbnUO?= =?us-ascii?q?b7mno3L/26WNha8doet3sg/AmwWwag5Y1E77YBh5CCbrREboTUvMBg80dn4iYC?= =?us-ascii?q?djdXjxhhlRy5Xv4TpPv479jAqpWo9PyhVKkzSOUM7RQ0AXpxj4foilA5vd7Xz/?= =?us-ascii?q?tcSpHSiYnn8gBNInuKtZ3f0xZiKesBNZirfLdm93UIPSQeIWwBPcaOYfkm/yBt?= =?us-ascii?q?KCnT50BFAs4UZNMZPdDClhpIhUDyQ7Fc6NbbFUGEBItpcMAo9WX3wigv8ZQgSu?= =?us-ascii?q?bg9CO2JZfH4l5WPvNDlyttm8jApOgU3frSEDIY4WSdaxVu3iyCzISCBOjq8uWR?= =?us-ascii?q?0tHUUEkGETQsX4daPjqC9hStRvCpm5XxTgOU9sjzjYomdE2KWny+gKQFs6hLEe?= =?us-ascii?q?5aiSX3xyNeGZ7xh/KUtdqs9WRWu0ZfEIlp8R3KBKVfP5t8ORTilcmnXEt8CTXl?= =?us-ascii?q?eMHSaBUuvPCaxuAW4+VxL0H+f5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Pck0TF9rSwkrSqdFVJdjwOC86rWBq58wKNN5XUg9fFsQk6PWy/fcnTAyoe+?= =?us-ascii?q?CcJPwiFuoXT/2srRoO9iKbVap4ZjAFgWHy16PNbd8i5dUTK85AznpBu/HTKDMB?= =?us-ascii?q?oF8T0LImoDbe8zwOhl4zjScdOUz0KbsKYoswOKDgGQEfLg3p1ADcXgzkO5bi5Q?= =?us-ascii?q?ah2uS4AwrexCwoVBKZg7bJSzVgiSZjP1CRiV7mVVrBU=3D?= X-IPAS-Result: =?us-ascii?q?A2GsAwC9hmFY/wHyM5BdGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgwwBAQEBAR+Ba45ErHsoh1lTAQEBAQEBAQECAQJfKIIzGoIcB?= =?us-ascii?q?gECNxQgDgMJAQEXKQgIAwEtFREOCwUYBIhPBAGuAigCg2iHDYZIiH4RAWiFFQE?= =?us-ascii?q?Emn2Beo84ikmGGpI/WGgfUYNmHIFfcYZwgi4BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 26 Dec 2016 21:12:43 +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 uBQLCemd016706; Mon, 26 Dec 2016 16:12:40 -0500 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 uBQLBKgs146173 for ; Mon, 26 Dec 2016 16:11:20 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uBQLBFid016478 for ; Mon, 26 Dec 2016 16:11:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AnAAC9hmFYmCIeaIFdHAEBBAEBCgEBgzcBAQEBAYIKjkSobIwQUwECAQEBAQECEwEBAQEBCAsLBx2FGQaBCVFXGYhwBAGuAoQShw2GSIl4hRUFmn2Beo84kGOSP4Feg2YMRRyBX3GJHgEBAQ X-IPAS-Result: A1AnAAC9hmFYmCIeaIFdHAEBBAEBCgEBgzcBAQEBAYIKjkSobIwQUwECAQEBAQECEwEBAQEBCAsLBx2FGQaBCVFXGYhwBAGuAoQShw2GSIl4hRUFmn2Beo84kGOSP4Feg2YMRRyBX3GJHgEBAQ X-IronPort-AV: E=Sophos;i="5.33,413,1477972800"; d="scan'208";a="5890781" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 26 Dec 2016 16:11:17 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AcjuOfBLdOHxyrZaBOtmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgRIvXxwZ3uMQTl6Ol3ixeRBMOAuqkC2rCd6vy8EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6zbL9oKBi6swrdutQZjIZtN6081gbHrnxUdu?= =?us-ascii?q?pM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTY?= =?us-ascii?q?QguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhS?= =?us-ascii?q?EaPDA77W7XkNR9gqJFrhy8qRJxwInab4ObNPdlYq/RYckXSXZbU8pNSyBMBJ63?= =?us-ascii?q?YYsVD+oGOOZVt5Hzp1oSohu5AQmjHvjvwSJLiH/x2q06yP8hGhzB0QwmHtIBrH?= =?us-ascii?q?PUrNHvO6cJS+y1za7IzTLYb/NNwjr97YfFcx87rfGLR7JwftPcxE8yHA3GllWd?= =?us-ascii?q?sZHpMy2R2+gXrmSX8+VtWfihhmI7sQ18rDeiyt8ih4XUnI4YyErI+Th6zYs6P9?= =?us-ascii?q?G1RkF2bNi5G5VKrS6aLZF5QsY6TmFopik6zroGtIa+fCkF1Zgr3Qbfa/uDc4mI?= =?us-ascii?q?/hLsSvqeITd+hHJkYbK/mgi9/VKnyu3mWcm4yFdKrixbndnQrn0BygLf58ydRv?= =?us-ascii?q?dg4kus1iyD2g7P5u1eL005mrLXK5s7zb4xkpoTv17DHijzmEjukaGYalgq9vSw?= =?us-ascii?q?5uTgebnppZ2ROpd2hQ/6Kqkun8OyAOsiPggJRWib9vyx1Lvi/ULlR7VKiuc5kr?= =?us-ascii?q?LDvJDbIsQbobW5AxRO34k47Ba/EjGm38gGknkcNl5FfR2KjofzN1HJOvD4Au+z?= =?us-ascii?q?g06wnzdz2/DGIrrhD43WLnfdlLfhfLB961NTyQco0dBe545bCrEGIP7pXE/xr8?= =?us-ascii?q?bXAgU2Mwyz3ea0QOl6g5gTXWOJH7+xLLLZsVjO4PkmZeaLetw7ojH4ft4k7Pnq?= =?us-ascii?q?hGRxuFgaZrLhiZ0WY3e8F+8gIkKeemHEh4sRV2AQsVxtH6TRlFSeXGsLND6JVK?= =?us-ascii?q?Um62RjBQ=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GYAAAEh2FYmCIeaIFdHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgwwBAQEBAYIKjkSobIwQUwEBAQEBAQEBAgECEAEBAQEBCAsLBx0?= =?us-ascii?q?wgjMYgh4GgQlRVxmIcAQBrXeEEocNhkiJeIUVBZp9gXqPOJBjkj+BX4NmDEUcg?= =?us-ascii?q?V9xiR4BAQE?= X-IPAS-Result: =?us-ascii?q?A0GYAAAEh2FYmCIeaIFdHAEBBAEBCgEBFwEBBAEBCgEBgww?= =?us-ascii?q?BAQEBAYIKjkSobIwQUwEBAQEBAQEBAgECEAEBAQEBCAsLBx0wgjMYgh4GgQlRV?= =?us-ascii?q?xmIcAQBrXeEEocNhkiJeIUVBZp9gXqPOJBjkj+BX4NmDEUcgV9xiR4BAQE?= X-IronPort-AV: E=Sophos;i="5.33,413,1477958400"; d="scan'208";a="1846654" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2016 21:11:14 +0000 Received: from localhost.localdomain (private.iosenag.net [31.7.184.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 16BCF56078D for ; Mon, 26 Dec 2016 22:11:12 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 2/2] libsepol/tests: fix some memory leaks Date: Mon, 26 Dec 2016 22:10:44 +0100 Message-Id: <20161226211044.5978-2-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161226211044.5978-1-nicolas.iooss@m4x.org> References: <20161226211044.5978-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Dec 26 22:11:13 2016 +0100 (CET)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org 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: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP When running "make test" with the Address Sanitizer (by adding -fsanitize=address to compiler flags), a lot of memory leaks are reported from checkpolicy. Anyway some leaks come from the tests and it seems cleaner to start fixing these ones. Signed-off-by: Nicolas Iooss --- libsepol/tests/test-deps.c | 2 ++ libsepol/tests/test-expander.c | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/libsepol/tests/test-deps.c b/libsepol/tests/test-deps.c index e7d2bebe0d93..ed23e0992ced 100644 --- a/libsepol/tests/test-deps.c +++ b/libsepol/tests/test-deps.c @@ -166,6 +166,7 @@ static void do_deps_modreq_global(int req_met, int b, char *policy, char *decl_t ret = link_modules(h, base, mods, 1, 0); CU_ASSERT_FATAL(ret == link_ret); policydb_destroy(&mod); + sepol_handle_destroy(h); if (!req_met) return; @@ -246,6 +247,7 @@ static void do_deps_modreq_opt(int req_met, int ret_val, int b, char *policy, ch ret = link_modules(h, base, mods, 1, 0); CU_ASSERT_FATAL(ret == ret_val); policydb_destroy(&mod); + sepol_handle_destroy(h); if (ret_val < 0) return; diff --git a/libsepol/tests/test-expander.c b/libsepol/tests/test-expander.c index ded1d9de2003..bc946c778b1d 100644 --- a/libsepol/tests/test-expander.c +++ b/libsepol/tests/test-expander.c @@ -122,6 +122,9 @@ int expander_policy_init(policydb_t * mybase, int num_modules, policydb_t ** mym return -1; } + for (i = 0; i < num_modules + 1; i++) { + free(filename[i]); + } return 0; } @@ -173,6 +176,20 @@ int expander_test_cleanup(void) { policydb_destroy(&basemod); policydb_destroy(&base_expanded); + policydb_destroy(&basemod2); + policydb_destroy(&base_expanded2); + policydb_destroy(&mod2); + policydb_destroy(&base_only_mod); + policydb_destroy(&base_only_expanded); + policydb_destroy(&role_basemod); + policydb_destroy(&role_expanded); + policydb_destroy(&role_mod); + policydb_destroy(&user_basemod); + policydb_destroy(&user_expanded); + policydb_destroy(&user_mod); + policydb_destroy(&alias_basemod); + policydb_destroy(&alias_expanded); + policydb_destroy(&alias_mod); free(typemap); return 0;