From patchwork Tue Mar 28 21:41:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9650557 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 D1EAA601D7 for ; Tue, 28 Mar 2017 21:43:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA5A52839B for ; Tue, 28 Mar 2017 21:43:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF3CB2841C; Tue, 28 Mar 2017 21:43:50 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B2A72839B for ; Tue, 28 Mar 2017 21:43:50 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.36,238,1486425600"; d="scan'208";a="4387159" IronPort-PHdr: =?us-ascii?q?9a23=3A0HDtCRKrhgngFWuxwtmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgQKPv/rarrMEGX3/hxlliBBdydsKMZzbqI+Pi5EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT69bL9oLxi7rArdutULjYB/Nqs/1xzFr2dSde?= =?us-ascii?q?9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j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= =?us-ascii?q?UrihUZUu1Qm0tA/9ybpoMPbb+jECuZLkzth16PXZlQsu+jxsE8Sdz2aNQnlpkW?= =?us-ascii?q?wUQj8226Z/oVBgxlqYz6h3neZYFd1S5vNOVAc2L5jcwPJmC9rqQALOYs+JSEq6?= =?us-ascii?q?QtWhGTw+U84xzMUUY0tmB9qiiRXD0DawDL8Oi7yHHpo0/bzA33LpPcZy127G1L?= =?us-ascii?q?U9j1khWsZONWynhql59wXIAo7Jl1yVl6esdagG2i7C7n2DzWmPvEFGTgF8S6PF?= =?us-ascii?q?Um4DZkHOt9T2+lvCT6OyCbQgKgZO19aCJbFQat3ollVLX+/jN87EY2KwgGewHR?= =?us-ascii?q?KIyamQY4X0YWkd2z/dCEccmQAJ4XmGLRQ+Bjumo2/GAjxuD0jgY0Xw/ul/s3O2?= =?us-ascii?q?VUo0zxmLb0F4zLq09AUVieabS/MJ0bIOoD0hpClsHFahw9LWDMKNpwl7c6VfZt?= =?us-ascii?q?M9/UxK1WHDuAx+OZygMrpuhlkEcwR4p0nuzQl4Cp1ckcg2q3Mn1BB9Jr+C0FNA?= =?us-ascii?q?aTyYx4v9NafLJWn35hyvbLTW2l7G2taM5qgP8Og4q0nkvAyxFkot7XFn091S03?= =?us-ascii?q?aH4pXKERYSUZX0Ukkt7RR6oKvaYiYl7YPOyXJsKbW0siPF298xH+slxAygf9BE?= =?us-ascii?q?MKOYDwLyCMsaB8+gKewvgVepaAgIPOZM+64oJ8mmbeeJ2La3POZ8mzKrlWpG75?= =?us-ascii?q?p50kKQ6SV8UPXI0o0bw/6GxAuITCr8jFK7vsDwg4BEaikYHnCjxij8GI5Reqpy?= =?us-ascii?q?cJ4XCWizPsK3x89xh5r2VnFE816jAk8J19WyeRqOdVD92xNf1VgPq3y9hSS41y?= =?us-ascii?q?B0ky0urqeH2izOwuDidB4ZNW5QX2Rtl0njIZKzj9wAW0iodQcpngO/5Unm36hb?= =?us-ascii?q?uLh/L27LTEdWfij5M31iUqyqtraYf8FP6JQosSNYUOmnZVCaS7j9rAEA0yPkBW?= =?us-ascii?q?dewyo7dz6ysJXjgxN6kH6dLGp0rHfBfcFwxAzf5MDFSf5KwDUGQCh4iT/KBlmz?= =?us-ascii?q?JNSp5s2Ul5bFsuC/S22hTYdfcS/1woOcrCG7/3FlAQWjn/Cvnd3qCRI60Sj/19?= =?us-ascii?q?luSyrItgrzYo7l1qmhKuJnY1VnBETm58p9AIF+nZM6hIsM1ngCmpWV4X0HnH/r?= =?us-ascii?q?MdpBxKL+aGABSiQRz9HO5wjl3FFjLnWPx4/iU3WR3s1hZ96mbW8M3CIy8dxKAr?= =?us-ascii?q?+O7LNYhSt1vka4rQXJbPh+gDgdz+Au5WUZg+4Xvgot1SOdDa4OHUVCOizsjRuI?= =?us-ascii?q?5cikrKpLfGavbaSw1E1mkNC/CrGNvxpRWGj/epg/HS989MN/P0zQ0Hfr8IHrZM?= =?us-ascii?q?HQbc4Pth2TixrAl/JaKI81lvcRmSVnOH79vH08x+41lxNu24u2vI+dK2Vi5Ki5?= =?us-ascii?q?GAJXNiXpZ8MP/THglbxekduL0I20EZVhHzoKUIHuTf22DDIYre7nOBqWED0gtn?= =?us-ascii?q?ebHqLSHReF50d7q3LADYirOGuRJHkF09piXgKQJFFEgA8KRjU6hYQ1FhutxMz8?= =?us-ascii?q?akd2+i4e5lD/qhtWxeJnKQPzUmHBqwe0cj00UoSQLAJK7gFe4EfYKcKe4fh1Hy?= =?us-ascii?q?FE+Z2hqReAKmKFaAtVCmEJQFaLB0j5Prmp59nP7fSXBvakI/vJe7WOpvRUV+2U?= =?us-ascii?q?ypK3zotm4zGMO92KPnZ4C/073lRMXWxlG8vDgToCUCoXmDzRb86AuBiz4DV3od?= =?us-ascii?q?6l/PTtRg3v+ZOFC6FOPtV35xC2naCDOvaKhCpjJzdUzJYMymXMyLgY3F8fkDth?= =?us-ascii?q?eCWoEbgasi7NVq3QkLdNDxEHcyNzKNdI76Uk0wlDI87UlM761qVigf4zF1dFUk?= =?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us-ascii?q?EWwPk3wDI16BA95j6QC1JbkxKt77vbHKU6wKZLo2Y/4aJYREaKFhXeeW/Dw5Hu?= =?us-ascii?q?KsVI3jwm9Xbl3M3Qt/srNbxdvJpRBQsaRyVsKYaOrnh6TWjo1V7q7F6AFzOELW?= =?us-ascii?q?dcuW4G?= X-IPAS-Result: =?us-ascii?q?A2GqBACS19pY/wHyM5BdHQEFAQsBFwEBBAEBCgEBgwApgWy?= =?us-ascii?q?OZKgvKYkqVwEBAQEBAQEBAgECaCiCMyKCQQYBAiQTFCAOAwkBARcpCAgDAS0VE?= =?us-ascii?q?Q4LBRgEiCGBRQQBr186JgKDaIZvhk6GPoJXEQFohRkBBJxgggaQPIp+hkKTalh?= =?us-ascii?q?8CCQWLEmGWnOHJIIuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 28 Mar 2017 21:43:49 +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 v2SLhmEG031209; Tue, 28 Mar 2017 17:43:48 -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 v2SLgh5p054423 for ; Tue, 28 Mar 2017 17:42:43 -0400 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 v2SLgbIS030851 for ; Tue, 28 Mar 2017 17:42:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1APAwDN19pYhyIeaIFdg1uCFY5kpByEN4kvVwECAQEBAQECEwEBAQoLCQgohUUGJ2JRVxmIQoFFBAGvXzqEEIZvhk6GPoNRhRkBBJxgggaQPJFAk2qBWyQWLIRRDIJGc4lSAQEB X-IPAS-Result: A1APAwDN19pYhyIeaIFdg1uCFY5kpByEN4kvVwECAQEBAQECEwEBAQoLCQgohUUGJ2JRVxmIQoFFBAGvXzqEEIZvhk6GPoNRhRkBBJxgggaQPJFAk2qBWyQWLIRRDIJGc4lSAQEB X-IronPort-AV: E=Sophos;i="5.36,238,1486443600"; d="scan'208";a="5996178" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 28 Mar 2017 17:42:43 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AtJx0UxcljTNOl5gh1JmvqccklGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcuzZB7h7PlgxGXEQZ/co6odzbGH7uawBydYuN6oizMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVr?= =?us-ascii?q?O+/7BpDdj9it1+C15pbffxhEiCCzbL52LBi6twbcu8gZjYd+N6o61wfErGZPd+?= =?us-ascii?q?lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLe?= =?us-ascii?q?TQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgz?= =?us-ascii?q?oBOjUk8m/Yl9Zwgbpbrhy/uhJxzY3aboaXO/pwZa7RYc8WSHBdUstLSyBNHoWx?= =?us-ascii?q?ZJYPAeobOuZYqpHwqUMPrRSiAgmsAPngyiRVjXH12q061P8hERrb1wEnGdIOsW?= =?us-ascii?q?jbrNLxNKgISuC51qjIzTLEb/NNwjfw843Ifx8uoP2WWrJwa8XRxFApGgjYjVuQ?= =?us-ascii?q?sZToMy6L2ukJqWSX8vZsWO21h2Mptw19uDaiy8g0hoTKm44Z0FHJ+CRjzIooO9?= =?us-ascii?q?G0VFR3bcC4HJZSsSyRKpF4Tdk4Q25yvSY30r0GtoC/fCgN0JknwhHeZ+Gdf4iQ?= =?us-ascii?q?5RLjUOaQIStmi315eLK/gRey8VG9yuLiTMW010xKriVdntnNsHACyQDT59CaRv?= =?us-ascii?q?dj+kqtwyuD2xzc5+1eL004ibDXJpAuz7Iok5ocq0XDHiv4mEXsi6+Wc10p9PW0?= =?us-ascii?q?5er6frnrvoScNo5ohg/jKqkjlMyxDPw9MgUBUGmX4+O81Kfs/UDhRrVKj+E5kq?= =?us-ascii?q?7dsJ/APsQXvK+5AwhS0oY48BayFCyp0NMFnXkBMF1KZgmHg5LsO1zBL/H0F/C/?= =?us-ascii?q?g06jkDtz3fDJIqXhAonRLnjEiLrhZqhy60pdyAo10NBe6IlZCq0BIf3vWk/xs8?= =?us-ascii?q?bUDhkiMwOu2ernB9J91p1NEV6IV7SUNKLUrE+g+vMkI+7KYpQc/jn6NasL/fnr?= =?us-ascii?q?2Fk4klgZdLLh/JwQc2vwSvJnKEKdaGGqg9AGCnwiu1YuCuvwhwvRAnZoe3+uUv?= =?us-ascii?q?dktXkAA4W8ANKbSw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0HsAQDN19pYhyIeaIFdSAYMgwGCFY5kp?= =?us-ascii?q?ByEN4kvVwEBAQEBAQEBAgECEAEBAQoLCQgoL4IzIIJDBidiUVcZiEKBRQQBr18?= =?us-ascii?q?6hBCGb4ZOhj6DUYUZAQScYIIGkDyRQJNqgVwkFiyEUQyCRnOJUgEBAQ?= X-IPAS-Result: =?us-ascii?q?A0HsAQDN19pYhyIeaIFdSAYMgwGCFY5kpByEN4kvVwEBAQE?= =?us-ascii?q?BAQEBAgECEAEBAQoLCQgoL4IzIIJDBidiUVcZiEKBRQQBr186hBCGb4ZOhj6DU?= =?us-ascii?q?YUZAQScYIIGkDyRQJNqgVwkFiyEUQyCRnOJUgEBAQ?= X-IronPort-AV: E=Sophos;i="5.36,238,1486425600"; d="scan'208";a="5352934" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 21:42:42 +0000 Received: from localhost.localdomain (81-66-120-207.rev.numericable.fr [81.66.120.207]) (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 8C2375646C0 for ; Tue, 28 Mar 2017 23:42:41 +0200 (CEST) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 7/7] libsemanage: genhomedircon: fix possible double-free Date: Tue, 28 Mar 2017 23:41:52 +0200 Message-Id: <20170328214152.17545-7-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170328214152.17545-1-nicolas.iooss@m4x.org> References: <20170328214152.17545-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Tue Mar 28 23:42:41 2017 +0200 (CEST)) 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 write_contexts() frees variables context and new_context_str after a line has been successfully emitted, these variables are not reset to NULL. This leads the function to free them again if an error occurs when processing the next line. Fix this by always resetting these variables at the beginning of the loop. This issue has been found using clang's static analyzer. Signed-off-by: Nicolas Iooss --- libsemanage/src/genhomedircon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libsemanage/src/genhomedircon.c b/libsemanage/src/genhomedircon.c index 465dd8829403..e8c95ee46130 100644 --- a/libsemanage/src/genhomedircon.c +++ b/libsemanage/src/genhomedircon.c @@ -607,10 +607,12 @@ static int write_contexts(genhomedircon_settings_t *s, FILE *out, const genhomedircon_user_entry_t *user) { char *line, *temp; - sepol_context_t *context = NULL; - char *new_context_str = NULL; + sepol_context_t *context; + char *new_context_str; for (; tpl; tpl = tpl->next) { + context = NULL; + new_context_str = NULL; line = replace_all(tpl->data, repl); if (!line) { goto fail;