Message ID | 20170325134842.1414-1-nicolas.iooss@m4x.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> 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 0C2B16020B for <patchwork-selinux@patchwork.kernel.org>; Sat, 25 Mar 2017 13:51:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED1E425D9E for <patchwork-selinux@patchwork.kernel.org>; Sat, 25 Mar 2017 13:51:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE0B026220; Sat, 25 Mar 2017 13:51:02 +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 (smtp.nsa.gov [8.44.101.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B512125D9E for <patchwork-selinux@patchwork.kernel.org>; Sat, 25 Mar 2017 13:51:01 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.36,220,1486425600"; d="scan'208";a="4298553" IronPort-PHdr: =?us-ascii?q?9a23=3AbL/v2BOK+Z0ye0E0Gj4l6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP78p8bcNUDSrc9gkEXOFd2CrakV1qyJ7Ou9ByQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54D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UePrh0afUT5Ve3ayQr?= =?us-ascii?q?gw5jYhCIKpFY3DXJyigKSd3CenGZ1bfnhGBU6XHnj2cYWEWusMaCWJL89gjDML?= =?us-ascii?q?S6auR5Um1RG0uw/w06BnIfbM+i0EqZLj08B46PDUlRE08zx7EtqS02WMT2xvhG?= =?us-ascii?q?wHWSU23KdlrUx60FeD3rByg+ZEGtxL+/NJTgA6OIbBwOxmEd/yQBnMccuOSFaj?= =?us-ascii?q?XtqpGyoxTs4rz98IfUl9B82ojgrf0CqyH78Vi7uLCYQ18qLaw3j+OcJ9xGjD1K?= =?us-ascii?q?Y/k1kmWMtOOHahhq5n6QfTAYvJnF+Yl6aubqsc2yHM+H2EzWqUs0FSSBRwXrnd?= =?us-ascii?q?XXADekvWqsz050PDTr+pD7QqKQ5BycqbJqtLbN3ll1NGS+35ONTdYmKxhXm/CQ?= =?us-ascii?q?yOxryScIrgY38d0znFCEgYjwAT+m6LOhYmBii7uWLeDSduGEn3Y0z26+l+qWi7?= =?us-ascii?q?Tlcwzw6Qc0JuyaC5+hkPhfyTU/kTxK4LuD89qzVoG1awx9zXC9uEpwpkYqpce8?= =?us-ascii?q?gw4FlZ2m3EsAx9JIavL7h4hl4ZcQR4oV/h1wltBoVHi8gqo2sgzBBuJqKAzFNB?= =?us-ascii?q?azSY0Ij+Or3NMGby+gyga6/N2lzF1daW4qYP5O0jq1TtpwGlDE0i829o09NNyX?= =?us-ascii?q?uT+o3KDBYOUZL2Sks39AJ1p7LdYikg/I7U1mdjMaqzsj/fwd4pA/Elyhm4dddF?= =?us-ascii?q?LKyEDBPyE9EdB8W2MuMlhkKpbhMaM+BI76M7Jd+pd/6c1K6sJuZgkyqsjX5b74?= =?us-ascii?q?BlzkKM6y18R/bU0Jkfx/GXwBCHVyv8jVemqc33gpxLZTAMEWq51SjkBZReard0?= =?us-ascii?q?fYkVFWekO9e3yclmh57xR35Y80auB1MY18+tfRqSaEfw3QlN1UQLpnynnDG3wy?= =?us-ascii?q?ZzkzE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Hv?= =?us-ascii?q?JYiiXnwjheEZj4h+qPvNqw9GRXtlNGEIFp7R3GAalfJYt0ORD5lsmtW0h9CTDy?= =?us-ascii?q?eNnOeRoypOWWxukN4+JkN0v9f4MbIQwLy6j86XVLSgtiUrn2vkyWXegJfttpVO?= =?us-ascii?q?vErmxJ6YJnM6IPIEKdq4LurjhSrlA5HhQkZ6IxrjxVd0nOgBdaW73ut74alwsQ?= =?us-ascii?q?S9h5tlFQGWioImIx+yLHVbhJjKmWEPEV/S+cTrYQXEV0MiNzWBe12JRye7S3nf?= =?us-ascii?q?BIqH5GnjhnrPgszTNmWAO2uTfwqKIVxTIg5La4uS0OuXNbSOWejyDICVJEwPQR?= =?us-ascii?q?k6gcD3fi6VqhYHgMd4by5KdoJd7g9IY7+Xg/ZwssfzEeV+S6Fy7wl7+IApCIsN?= =?us-ascii?q?9Egh6NudnBbbi3LScILbQx0xPjR3960gjFhxZl624LTzqv7dM+I4W9I8klzDKy?= =?us-ascii?q?GWfHbFYM/r9JsMzpuF4EUOQ2ckhhzHx+3MaIQCMNRcrPG3s6jwU/ZmVEdYhM6R?= =?us-ascii?q?kEGKUyhTaIpKZG9BkOYDjICoSl5pXQncDQ1Hk/StdqxmTWqreZiZMq1H1lhs57?= =?us-ascii?q?7y+PuHQUbOzYUM5sD2Pt1ode1+zxffGtvf0GSId8zrSuTuMCONG5+WSqwJVqRl?= =?us-ascii?q?OlxrMGElq4Lu8M3LHbXjyhSW2FROuLcm+Mny0jPk71/xmoIUU9aN1WoE8lLuvC?= =?us-ascii?q?mplcmhXjUbxqSCWQq1vbwXctMOwAcQI5ppundxYMTOEPe+iWPfIuz+EmCFsQc3?= =?us-ascii?q?/JGjN7C+CysV6qkol0JXFg4UHhbOT29QDmNtqSFQUeHY7csJFx5eSwRnidNn94?= =?us-ascii?q?0B1yIE50+v/dF1Qxtu5ca5GRndzRh9Rnz+EIbPJtMSwhut4JhI1v846U0N2FcR?= =?us-ascii?q?vJ1Jb9OcnVouSEA/3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Mymwmifhv2x4NfwRzVGdi0ntIk/ah?= =?us-ascii?q?AsdZU0IbjHuyQP0aa1B6FDEw/UiM4g32etEAvN7cSHJQ9rsLU4oSMOcn5JPROK?= =?us-ascii?q?QO3PZ6lA5h9Tc3tySbEkN1khOO862WGrl1gLJF+zoW5fZzC2eOSDTbe3OP642h?= =?us-ascii?q?ENkHkSFvqnfg3tGSv+dqL6Byot1pRlAQDnQldZjm4TldXDSsi0OJtBGhEWHbeW?= =?us-ascii?q?oU?= X-IPAS-Result: =?us-ascii?q?A2F7BQArddZY/wHyM5BdHRgHgx8pgWyOZKgqKYkuVwEBAQE?= =?us-ascii?q?BAQEBAgECaCiCMyKCSAIkExQgDgMJAhcpCAgDAS0VHwsFGASIIYFFBAGsdjomA?= =?us-ascii?q?oNohmeGTokVEQFohRkFnFuCBZA6in6GQJNlWHwIJBYsSYRYHYFkdIdsgi4BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 25 Mar 2017 13:50:59 +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 v2PDncxn029559; Sat, 25 Mar 2017 09:49:55 -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 v2PDnZbJ282925 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Sat, 25 Mar 2017 09:49:35 -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 v2PDnY80029557 for <selinux@tycho.nsa.gov>; Sat, 25 Mar 2017 09:49:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DdAQCudNZYhyIeaIFdg1uCFY5kpBeEN4kzVwECAQEBAQECEwEBAQoLCQgohXKCI4hCgUUEAZsDkXI6hBCGZ4ZOig+FGQWcW4IFkDqRPpNlgVskFixJhAgBCwFDHYFkdIoaAQEB X-IPAS-Result: A1DdAQCudNZYhyIeaIFdg1uCFY5kpBeEN4kzVwECAQEBAQECEwEBAQoLCQgohXKCI4hCgUUEAZsDkXI6hBCGZ4ZOig+FGQWcW4IFkDqRPpNlgVskFixJhAgBCwFDHYFkdIoaAQEB X-IronPort-AV: E=Sophos;i="5.36,220,1486443600"; d="scan'208";a="5992539" 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; 25 Mar 2017 09:49:33 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AoMgCHhIny7usoJXa69mcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgRIvrxwZ3uMQTl6Ol3ixeRBMOAuq8C1LWd7v6ocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDqwbalwIRi0ognctsgbipZ+J6gszRfEvmFGcP?= =?us-ascii?q?lMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLD?= =?us-ascii?q?QheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2ThLjlS?= =?us-ascii?q?UJOCMj8GzPisJ+kr9VrhyiqRJ42IPYfJ2ZOeBicq7HYd8WWWxMVdtRWSxbBYO8?= =?us-ascii?q?apMCAfIAPelEqIn9o0EBrQCjDgevA+PvzSRIhmTr1qA91eQhEB3J3AskH90Uq3?= =?us-ascii?q?TYttT1NKAVUeCu16nF1jDDYvxZ2Dvn74jIaB8hrOiKULltcsTR0VEiGx7bgliU?= =?us-ascii?q?s4DpIi+Z2+sXv2WV8+ZsT+yihmE/pwxzoDWj3Nogh4fHi44P1FzI6SR0zJw7KN?= =?us-ascii?q?GmTkNwfMSqH4FKty6AMot7WsMiTH9suCY90rAGvJG6cDUQxJQ/wB7fb/yGc5SW?= =?us-ascii?q?7R3/VOaRJzZ4hGt4eL2hnRqy9lKgyuLkWsm11lZFsDZFn8HRunwT0xHf8NWLRu?= =?us-ascii?q?dy80u71zuDyxrf5+9LLEwskKrUMZ8hwro+lpoJtkTDGzf7lljqgqGLakkp4vCo?= =?us-ascii?q?5uv5bLXgvpKROZF5hxn7Mqkhlc2zG+M4MhIBX2WD/+S81aHs/Ur9QLpQlf06iK?= =?us-ascii?q?jZsJfdJcQAva60GBRa0oE+6xa5Ezipzs8YkWMCLF9KdxOLlY/pO0vBIPzgF/ew?= =?us-ascii?q?n0yskCt3x/DBJrDhGYvCLnzCkLfnYLZ85FVRyBYzzN9D55JUDasNIPToWkDrrt?= =?us-ascii?q?DYARg5MxLni9rgXc5w0oIYRHKnHr6SMKSUt0SBoO0oPbqifogQ7RD8IP8h7uWm?= =?us-ascii?q?rHg+gkRVKa+o1pwTYWv+H/NhOF6xZCb8xNAbHjFZ7UIFUOX2hQjaAnZobHGoUv?= =?us-ascii?q?dk6w=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FvAgArddZYhyIeaIFdg1uCFY5kpBeEN?= =?us-ascii?q?4kzVwEBAQEBAQEBAgECEAEBAQoLCQgoL4IzIIJwgiOIQoFFBAGbBJFyOoQQhme?= =?us-ascii?q?GTooPhRkFnFuCBZA6kT6TZYFcJBYsSYQIAQsBQx2BZHSKGgEBAQ?= X-IPAS-Result: =?us-ascii?q?A0FvAgArddZYhyIeaIFdg1uCFY5kpBeEN4kzVwEBAQEBAQE?= =?us-ascii?q?BAgECEAEBAQoLCQgoL4IzIIJwgiOIQoFFBAGbBJFyOoQQhmeGTooPhRkFnFuCB?= =?us-ascii?q?ZA6kT6TZYFcJBYsSYQIAQsBQx2BZHSKGgEBAQ?= X-IronPort-AV: E=Sophos;i="5.36,220,1486425600"; d="scan'208";a="4298550" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2017 13:49:26 +0000 Received: from localhost.localdomain (32.206.133.77.rev.sfr.net [77.133.206.32]) (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 49F4A564704 for <selinux@tycho.nsa.gov>; Sat, 25 Mar 2017 14:49:24 +0100 (CET) From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Subject: [PATCH 1/1] libsepol/cil: do not dereference a NULL pointer when calloc() fails Date: Sat, 25 Mar 2017 14:48:42 +0100 Message-Id: <20170325134842.1414-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.11.1 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sat Mar 25 14:49:24 2017 +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" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
On 03/25/2017 09:48 AM, Nicolas Iooss wrote: > When list_init() fails to allocate a list with calloc(), it calls > list_destroy(&l) with l = NULL. This functions starts by dereferencing > its argument ("(*list)->head"), which does not work well when it is > NULL. > > This bug can be fixed by returning directly in list_init() when calloc() > fails. Doing so allows making list_init() implementation shorter by > removing label "exit" and local variable "rc". > > This issue has been found using clang's static analyzer. > > Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> Applied. Thanks, Jim > --- > libsepol/src/module_to_cil.c | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c > index 6c33b94da9d9..308ada4f1381 100644 > --- a/libsepol/src/module_to_cil.c > +++ b/libsepol/src/module_to_cil.c > @@ -250,19 +250,13 @@ static void attr_list_destroy(struct list **attr_list) > > static int list_init(struct list **list) > { > - int rc = -1; > struct list *l = calloc(1, sizeof(*l)); > if (l == NULL) { > - goto exit; > + return -1; > } > > *list = l; > - > return 0; > - > -exit: > - list_destroy(&l); > - return rc; > } > > static int list_prepend(struct list *list, void *data) >
diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c index 6c33b94da9d9..308ada4f1381 100644 --- a/libsepol/src/module_to_cil.c +++ b/libsepol/src/module_to_cil.c @@ -250,19 +250,13 @@ static void attr_list_destroy(struct list **attr_list) static int list_init(struct list **list) { - int rc = -1; struct list *l = calloc(1, sizeof(*l)); if (l == NULL) { - goto exit; + return -1; } *list = l; - return 0; - -exit: - list_destroy(&l); - return rc; } static int list_prepend(struct list *list, void *data)
When list_init() fails to allocate a list with calloc(), it calls list_destroy(&l) with l = NULL. This functions starts by dereferencing its argument ("(*list)->head"), which does not work well when it is NULL. This bug can be fixed by returning directly in list_init() when calloc() fails. Doing so allows making list_init() implementation shorter by removing label "exit" and local variable "rc". This issue has been found using clang's static analyzer. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- libsepol/src/module_to_cil.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)