From patchwork Tue Mar 28 21:41:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9650545 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 6F3AC601D7 for ; Tue, 28 Mar 2017 21:42:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6710A2839B for ; Tue, 28 Mar 2017 21:42:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A828283F3; Tue, 28 Mar 2017 21:42:54 +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]) (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 A4F9F28420 for ; Tue, 28 Mar 2017 21:42:53 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.36,238,1486425600"; d="scan'208";a="4387066" IronPort-PHdr: =?us-ascii?q?9a23=3A0xjzmxHN/EnHx5xfcPmfWJ1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ79pcu6bnLW6fgltlLVR4KTs6sC0LuL9fC+EjRZqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLdyIRmsrgjct8YajZd/Jq0s1hb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ilfsO4e0hcgAXEe0dwgpiAel5UHiyqhH?= =?us-ascii?q?uatwMmjTTl1MfyXtM25iVa6wuaaYbM5U9JMkqyNXX/qgYVqCUL7yvwMa0z//H2?= =?us-ascii?q?tZ3D07cTCqupH9nxNkk2KQN2x8o2TDecF33xvf48bcRfFJ1DocWCZ4kSXXBkS7?= =?us-ascii?q?P9Sx49WUlovMsvy5V2K7TJFcbSnrzYSGtCu0/mBqBRy/n/apld39Fgg2yyj718?= =?us-ascii?q?NlVS/QthbzfpHr17imMeJgZkRoAF7869FmGo1niYs/mpUQ2XkchpWI8nsKinzz?= =?us-ascii?q?Mc1a2aL4bXoCWSULz8TT4Af7xE1pNmiJyJ7hVnWB3sthYMG3YnkR2iI568BFFr?= =?us-ascii?q?2U46BDnSp7uVe4th/RbuRmnjsHzvsu8nEaifkTuAUx1iWdHqwSHU5AMCz0jRuI?= =?us-ascii?q?8tS+oL9Na2q1arew005+ncymDLGEuQxcXWr1epElHSBs9Ml/NkzD0GHr4IH+ZN?= =?us-ascii?q?bQdc4TtgGTkxrYjOhaNpQxluERiCpkJ239u2Yly+glghxyx526u5KHK2p19qKj?= =?us-ascii?q?HhFYLiH1Z98U+jz1k6ZemNuZ0puxHpVnBzoLXIHkTfS2HzIOrf7nLRqBECUgqn?= =?us-ascii?q?eHHrrSBRef5117r3LLCJ2kK3CXJGUZzNl7ShmSPkpfjBoTXDUgkZ4zDhqqy9D5?= =?us-ascii?q?cEdl+jAR4Ub1qgNWxeJ1MxnwTH/fqx2uajcoVpefNgFb7hxZ50jLK8ye9fh/Hz?= =?us-ascii?q?pf/p28tgyCNnKUZwpPDWETVUyLGUrvPr+w6tnc6+KYHPaxL+PSYbWSruxTT/mI?= =?us-ascii?q?yoip0ot6+DaMM96CPnd8APIm3UpDR2p2G9zDmzUISSwYiT7Cb9KBqBe74C13od?= =?us-ascii?q?i18O73VwL3+YuPF7xSPM1q+x+shaeDM/CfhDplKTlCzJwB3nnIx6YD3F4Jly5h?= =?us-ascii?q?bSGtHqoauS7LUq3QhrddDwQHZCNrKMtI86U80xFXOcLBhNL5zLt4geQxC1dCVV?= =?us-ascii?q?3sgdumatAPI22nM1PHHkmLPqycJTLX28H3fb+8SbpIgeVarR2/pyuUE1T5MTSF?= =?us-ascii?q?iznpUAuvPPpWgy6HORxSooa9cgxiCWL7VtLpdgW7MMNrjT0x2bA0gGnKOnQEMT?= =?us-ascii?q?hkaE5NoLyQ7TlDgvVjFWxB73xlIvOCmymF7unXMJIWveFsAiRumOJQ+G46xKdN?= =?us-ascii?q?7CFYWPx1nzPfrsZwrF69jOaPzDtnUAZJqjtQhYKEo1ttNrvD+plHQ3bE8woH7X?= =?us-ascii?q?+MBBQSu9tlFtrvtrhNxdjUiq38MjhC88jO8ssCHMXUM9iIMHk8MRrzAjHYFg8F?= =?us-ascii?q?TSOtNW7FnUxRie2S9nqWrpk6rZjggpwORaFHVFYtDPMVFlxlHMAeIJdwRj4kiq?= =?us-ascii?q?SUjNAS6nqxshbRX95XvovdWfKMG/rvJyiWjaJeaxsO37z4MZwZNpfn1Ex6dll6?= =?us-ascii?q?gIPKFlLLUtBMrS1haQk0rV5Q/3dgVWIz2ljqagW37H8UD/60kQY8ihFibuQ16D?= =?us-ascii?q?fs/1A3K0LQqys/ikYxh8vqjCuWcD7pMqiwW4RWBDD1t0g1KZz7RAl0YRe1nUx+?= =?us-ascii?q?OzfOX6hRgKd4dWB3lA/cvoNCGeJbTa1BehMQ3/aXZvQ23lRasSqn30hH6vXGCZ?= =?us-ascii?q?Z5iAQqdpusoG5a1AJ4cN45P6rQK7RVzlJInKKBojeo1vwtwA8ZP0sN82OTeCoW?= =?us-ascii?q?t0ETM7kmICSo/uJy5gyehztDeG8MV/80rf5w8EMyJfiAxTr607FfMkCxK/CfL6?= =?us-ascii?q?SBtmjGi8GHWFcw21gLl0lC5rh2zd0sc0yPV0AszbudDRIJOtTeKQtNdcpd6GDT?= =?us-ascii?q?fTqSseXK2Z91JZuyFvv2QuCUrqYbnk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OdpE?= =?us-ascii?q?1DkEVoKSK5z4RTK91V6D4WQDdPuSmdvMe1SMBb1856FYMDItd+u3f4GaNLIpuR?= =?us-ascii?q?rmY3urPx1HDW5SowsFCgxDW8A6W4Vf5W/3UCGgU1IGSTslMgD/Ex8mfU6FzNsU?= =?us-ascii?q?t5/+ZaBriOkUV+uyxxHpZQCTZVzXqlNUh8TGFas+VGL6TYa81cQ/8uZRCxPxwx?= =?us-ascii?q?C/sm0FKV/UFunXb0eCtythNE9CDbWgk7TygVgrP2lj0ZpcCrIzgaS4hHbT85dS?= =?us-ascii?q?fKNxqbmTxLvBZYc0xqVIoZDcxD+7EHxoZU/83CSEiqKSEZXBxtKAM40fxDlUFd?= =?us-ascii?q?qkWUYybdAhS0dfzXqB14Yd+RrNK1LPT+5ApHloTnsOUj+qUfW3GmnBaiTcrYr4?= =?us-ascii?q?Diqt2ArlGOe7vgM+2gfX/BSyDBjRCqirc+FZbK+zXcPRFGJJZk0XokeYbuCWrV?= =?us-ascii?q?MhRcPa4bIFBbVa9iY9Vcvu9af9NkeLoO+aJ1BBKHQQ3gFZeyo/ZYNVbcWy7eLz?= =?us-ascii?q?mf/eOiu47T66LSSfT4bMyW23nHW753Pot96TTjALjq35NR9lb01/tw+E53UkTJ?= =?us-ascii?q?MyeErNv9PAwL/9WielHkvpI3ATPcGI1wn2b1xkFca8oXRDWn8I4Gx5xE6Hb/U/?= =?us-ascii?q?5431P3sO1V6blr95c77KxuycipO6jeM/JavlF7AhKMHAVl6o0tAHRjR2BWeuIR?= =?us-ascii?q?MOzRfbgDgs/zt+D6DLcX6BqI++xDddTIOUfBmtWlCj6GTRxIhgABqSQVLgGEzf?= =?us-ascii?q?6Kh7d0Sdq5pej+wk8t/0K+IQAYw79w/oqE566IpPPNbxTL07gEW6/qRsftobQw?= =?us-ascii?q?oU+S4ucklLEWcGxvfwKnCPQdVtIaxmr40K8qyzgjHtjeELLm4vFPTXU5nijvm5?= =?us-ascii?q?plBVUZBusUHaaX/YRZhmo4mfbWNscRcqBZnmaADwCkH6QHyX627yuXPGhljQ3P?= =?us-ascii?q?0x7qR2Oz90X6rShiQSvD193jiFZaVqGrBUdOWCqkIU14vymJPArmrtr3vrk641?= =?us-ascii?q?8tP2z4rt2NknChOLRNE835OtOcPTE+pEgLg50pWtyvxYcbFMK7INcV63x+b/3e?= =?us-ascii?q?62axny9ApadHiZDe7duO+vXLB3mgkrGVq6mQxDBC1Hc0p1Y/6sqvNvvW/d2FX+?= =?us-ascii?q?yo13oNTyd4owbBWR+1paDcr1AQI0OLy13HmI0NPtFexnk4zVrr5O0sTdM87gle?= =?us-ascii?q?EZzAZ/warzDpJDT02UqfY84wViSGzzRYBFb1HkdjGKgg2GPwu9nElWzM9F0pWI?= =?us-ascii?q?ZwcVDnhR1tAIkiL0Ii9kQXyDIZEQcRcRCbEK2oBUP9IIsATkgDbBSK0aO0eqgp?= =?us-ascii?q?wEJzxamv6/XLbexmAKoNNOhSgRKSnFRBHZIWq6IeSqpme1BB7K7XuhTiC4//Uv?= =?us-ascii?q?jklHowMOa4QsVE/sEZqXQi+Ae/Rxyv6ZtZ6bYUloyIfLZeYZfQpMB881tn5TkX?= =?us-ascii?q?eyxMgRlwlQm2XvwHqeD4/NfbrISn5fq0WKYqXeUX+AA+B35igJvonFAjvdbX2v?= =?us-ascii?q?9HRY3UkoT+/hpCI3yLuIbGyxlzM/cOK4awcbl88HUIOjYRKGgTPdqMbPk8+TVi?= =?us-ascii?q?PC/U51xYDcMGfckYM9bVmQBIlk3pX6le9tLBFV+EF4hzd84p723tyDA26Jc8Sf?= =?us-ascii?q?jv6Du3JZDZ8lFMMOhOjD12m9LeuOcVwfTTCC8N4XmacRR1wT2Ny4OLC/nu+eWA?= =?us-ascii?q?0tbUV0kJHiQuSYdSOCKC+RC7RuqyjJjpThmU5dH3gJ0kckKfWGe8k7kEsqZDEO?= =?us-ascii?q?5Alj/03iNEGYDvmvKZqdys53VLtldfCoZ88QXFGLlDPpV8IRn4mdOkRlJiCSvj?= =?us-ascii?q?eMHZbR4uuOuKxugS4+VxLVb+ZZQBLhIC1b369WJfThFyR77uolaZQeURacNpSP?= =?us-ascii?q?zaqHBV9YVgK6gIMFiGupPqqjZIqFYrAA4mc7IwqiJVdlPOnQJPQar0vqAPihcE?= =?us-ascii?q?W95jpUBMAX6wOH455zffSatVjrOeB+AO/zqPSawOV0FoMiJgTBOvxJVhZaemnf?= =?us-ascii?q?BdvmNBhCN9r+Ag0yZ6SxukpS3su6UN1Col+LG/sjUBpXNFQfuFnifNCFVM1vIK?= =?us-ascii?q?grkAC3fs7ly8enoDbJDo7LlhO8vg6ZEr424jbhU7Yy0GQeOgBjn/j6yUGYyPq8?= =?us-ascii?q?tQigOCtsvIbL+zKzUSN7smxBLsQnhyyA7ekwhy/GsMWDWg48cuJJ+hNsY92iqo?= =?us-ascii?q?BW/beU4O4qNOsMvxs0QHQ/c2aVNl3WVsz8mGRiwLRMzUGGY1jxMpaXtFcJJd8x?= =?us-ascii?q?AaE7QngjeSsqlA4A4UfC/eEp659YnIgcfIxX49QM9rxmLIvKKFgIgn0Hl4m9xp?= =?us-ascii?q?7y6Ov28Se/bfU892DXj5zp1fxvDmZ/WxruAHT5NryLa/X/8MPMmj/XC72ZtwVU?= =?us-ascii?q?+j2LseA0C1MOkdybfHSy2lU3GXWfyXc2iQmDY0KkHy5R2vLlw5dshKq0s9P/DZ?= =?us-ascii?q?hp5bkQ3hUK97Sj+WpVDF0GwpKfkaeB4uuIe7ZwwKS/YcZ+qcJeku2P0+D18Mb3?= =?us-ascii?q?7VHSRoEOK2tF+tnJRhO3p++0n6Zv7t8g/+OtuIBhYECZLaroJ2+fGiWmKBOHpg?= =?us-ascii?q?wQZuPEl16+jfFEo+tutGf5aXg9fQm8xx0fQZePd1LS09ptkTl5pm6YmV08eKch?= =?us-ascii?q?bRw43wJd7PofiYBPvfwFosem1AVLoWfx/17Z0gPtElQ73TAadZvRMECKchXpMh?= =?us-ascii?q?MXvx+bpvLAN3dQ7Re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WWWBR67UMSY0HLPY09obbIq?= =?us-ascii?q?0Qz+g13GEunCtvqCiZDlVAniqZ4qHQG+R63bQE6m4mrN9sWUTaZTLUdWzO0cKH?= =?us-ascii?q?DMVU3m86p3Hv0M7dpaZsM7xBvKl8XEdMBjh5cIOOtQtdWH35jVPh9y2wGy6TdX?= =?us-ascii?q?dAuDs=3D?= X-IPAS-Result: =?us-ascii?q?A2GqBACS19pY/wHyM5BdHQEFAQsBGAEFAQsBgwApgWyOZKg?= =?us-ascii?q?vKYkqVwEBAQEBAQEBAgECaCiCMyKCSAIkExQgDgMJAhcpCAgDAS0VHwsFGASII?= =?us-ascii?q?YFFBAGvXzomAoNohm+GTokVEQFohRkFnGCCBpA8in6GQkiTIlh8CCQWLEmGWnO?= =?us-ascii?q?HJIIuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 28 Mar 2017 21:42:51 +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 v2SLgdw1030853; Tue, 28 Mar 2017 17:42:41 -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 v2SLgbd2054405 for ; Tue, 28 Mar 2017 17:42:37 -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 v2SLgbIM030851 for ; Tue, 28 Mar 2017 17:42:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AOAwDN19pYhyIeaIFdg1uCFY5kpByEN4kvVwECAQEBAQECEwEBAQoLCQgohXKCI4hCgUUEAZ1tkXI6hBCGb4ZOig+FGQEEnGCCBpA8kUBIkyKBWyQWLIRRAQsBgkVziVIBAQE X-IPAS-Result: A1AOAwDN19pYhyIeaIFdg1uCFY5kpByEN4kvVwECAQEBAQECEwEBAQoLCQgohXKCI4hCgUUEAZ1tkXI6hBCGb4ZOig+FGQEEnGCCBpA8kUBIkyKBWyQWLIRRAQsBgkVziVIBAQE X-IronPort-AV: E=Sophos;i="5.36,238,1486443600"; d="scan'208";a="5996172" 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:37 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3ARrwvixYlnyUbDxIAsmA65yf/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZoMS8bnLW6fgltlLVR4KTs6sC0LuL9fC+EjRZqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLdyIRmsrgjct8YajZd/Jq0s1hbHv3xEdv?= =?us-ascii?q?hMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTD?= =?us-ascii?q?QhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlS?= =?us-ascii?q?EKPCM7/m7KkMx9lKJVrgy8qRJxwIDaZ5qYOOZicq7HYd8XX3ZNUtpXWidcAo28?= =?us-ascii?q?dYwPD+8ZMOhAronyu1wOrR+kCgm3GejhyThIhnjt3a0hzu8sFgfG3A08ENIJtH?= =?us-ascii?q?Tbts71OL0TUeCyy6nI1i7DYuhT2Try54nEaBchoeuDXb9pd8fa1EohFxvdg1mN?= =?us-ascii?q?t4DoOymZ2vkRv2WU9eZtW/6jh3Qppgx+ujSixdoghpPIi48U0FzI6Dt1zJovKd?= =?us-ascii?q?GmVEJ2Y9ipG4ZKuS6ALYt5WMYiTnlouCkkzr0Gvoa2fC0FyZg63RLfc/uHc4yI?= =?us-ascii?q?4xL/SumePTd4hHRkeLKmmha971KsyurmVsm7yFpKryxFncfQtn0VyhDf9MyKRu?= =?us-ascii?q?Fg8ku91juDzQ7e5v1eLU06mqfXM5shzaQxlpoXv0TDBCj2mEDugaGLaksq5/Sk?= =?us-ascii?q?5vz8YrTnupOSKpd5hw/+PKk2n8yyDus5PhIJX2iB9uSxzLvj/UzlT7VNiv05iL?= =?us-ascii?q?LZvIrbJcQcoa65GBRV35045Ba4Ejem1sgXkmccLF5ffRKKgIfoN0vJIPDiAvez?= =?us-ascii?q?m06snytzx/DaIr3hBY3ALmPdn7flfLZ97VNcyQUowNBD55NbFrEBIPXpVk/3r9?= =?us-ascii?q?zXFAU1MwOzw+b5W51B0dYFVGaOBLKJGL/Dul+PoOQ0Kq+DY5FGliz6Lq0D5vXp?= =?us-ascii?q?iXYi0X4aerKylc8RaXu/Gv19ZUSeZmH3qtJdASENpAVoH7+is0GLTTMGPyX6ZK?= =?us-ascii?q?k7/DxuUI8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0HsAQDN19pYhyIeaIFdSAwGgwGCFY5kp?= =?us-ascii?q?ByEN4kvVwEBAQEBAQEBAgECEAEBAQoLCQgoL4IzIIJwgiOIQoFFBAGdbZFyOoQ?= =?us-ascii?q?Qhm+GTooPhRkBBJxgggaQPJFASJMigVwkFiyEUQELAYJFc4lSAQEB?= X-IPAS-Result: =?us-ascii?q?A0HsAQDN19pYhyIeaIFdSAwGgwGCFY5kpByEN4kvVwEBAQE?= =?us-ascii?q?BAQEBAgECEAEBAQoLCQgoL4IzIIJwgiOIQoFFBAGdbZFyOoQQhm+GTooPhRkBB?= =?us-ascii?q?JxgggaQPJFASJMigVwkFiyEUQELAYJFc4lSAQEB?= X-IronPort-AV: E=Sophos;i="5.36,238,1486425600"; d="scan'208";a="5352931" 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:36 +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 554255646B8 for ; Tue, 28 Mar 2017 23:42:35 +0200 (CEST) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/7] libsepol: do not dereference a NULL pointer when stack_init() fails Date: Tue, 28 Mar 2017 23:41:46 +0200 Message-Id: <20170328214152.17545-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.12.0 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Tue Mar 28 23:42:35 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 In cond_expr_to_cil() when stack_init(&stack) fails, stack is set to NULL and the execution flow jumps to label "exit". This triggers a call to stack_pop(stack) which dereferences a NULL pointer in "if (stack->pos == -1)". This issue has been found using clang's static analyzer. Signed-off-by: Nicolas Iooss --- libsepol/src/module_to_cil.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c index 308ada4f1381..5c98c29bcf13 100644 --- a/libsepol/src/module_to_cil.c +++ b/libsepol/src/module_to_cil.c @@ -1363,11 +1363,12 @@ exit: free(new_val); free(val1); free(val2); - while ((val1 = stack_pop(stack)) != NULL) { - free(val1); + if (stack != NULL) { + while ((val1 = stack_pop(stack)) != NULL) { + free(val1); + } + stack_destroy(&stack); } - stack_destroy(&stack); - return rc; }