From patchwork Thu Apr 16 17:43:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 11493591 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C42D92C for ; Thu, 16 Apr 2020 17:44:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F897221EB for ; Thu, 16 Apr 2020 17:44:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore-com.20150623.gappssmtp.com header.i=@paul-moore-com.20150623.gappssmtp.com header.b="d3YpuIAX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390504AbgDPRoK (ORCPT ); Thu, 16 Apr 2020 13:44:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2390374AbgDPRoI (ORCPT ); Thu, 16 Apr 2020 13:44:08 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D73FAC061A10 for ; Thu, 16 Apr 2020 10:44:07 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id c7so9274916edl.2 for ; Thu, 16 Apr 2020 10:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=lHUznoxru5R12GXaDmKNX8aXkplH6wFoA+QlOqPeLdI=; b=d3YpuIAXek8wojwJPlX+mVEi3yrr57eFKzsLxMLgsJXoYIurH7nVZ/mjDHM2gKUNrb BNl4EH9u92DBGQi5nZ3n0wyRZY0uR4VbVzZuwU64I+KyXeHKAXnv84oW6HnILOjliE/2 2l5wOeruQkOj98wCk5oWwrLKuQOWqQg1DEOtsearRpsE76PoOyAltDhjYcY1Uq+nGo+1 XlNPJp9Bc4GboEfZPwuUDRigqNmrT1fR3jQeQZNTvvoNStDZ4bQTCCqRoJ+ByeYrGgI/ B6DiXpJ5stBdqm0xq9RZkZvmh3Fgd9BCCdZFITb7q0eH5YXOc2AoTmfb/sKavW+V5n5X /b1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=lHUznoxru5R12GXaDmKNX8aXkplH6wFoA+QlOqPeLdI=; b=PIVGI2G0xsjq1HCVHxcUdO2m5K8hg5CMI59vM6YXznEEch8B+R0RLWHnQuVrPhkZay T467BgJ+si50LiqW0y8FsFwkDrC6f3UHvwGfnKFfnPTR5uFO1J3ge7tOsMNFBeJWY/Gh 8gQp4gOI1ryTz2ebX6eq/sH7yhKdXTxM5BwTL4zKWQ30UPYwO2Azq2bSQQ5xUqA1c9mk KXnyXbtkw3LhVuZ2/5OzsJ6zEtlihVrEfELDsg6sF9bE92/C42IyivGnv6bf6PPAux+B ehvTdshzZofYbTObPpyfyVjNn/TWXnTOKVDfjJB04H/j+KJh4Y0ucVBsmI244v0BJHvQ H/pQ== X-Gm-Message-State: AGi0PuZudEo0XKEEj3+O7nRYDRyNmy14gY+EofCxX23reK2sHV+HnMvf mFqPePlgi/3DFe5/FbIbeXJ8uoPFvkFNry8B28m/ X-Google-Smtp-Source: APiQypJflJcsD5E5bvXwMy2efxg/kPt1RTDrCEezvZ+HNOokTDmdHJAaS9dz6ehK5wvShhDpAsPpwUKgeE0HZtOM/Kc= X-Received: by 2002:a05:6402:1b0b:: with SMTP id by11mr12141670edb.269.1587059046433; Thu, 16 Apr 2020 10:44:06 -0700 (PDT) MIME-Version: 1.0 From: Paul Moore Date: Thu, 16 Apr 2020 13:43:55 -0400 Message-ID: Subject: [GIT PULL] SELinux fixes for v5.7 (#1) To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: Hi Linus, One small SELinux fix for v5.7-rcX to ensure we cleanup properly on an error condition. Please merge for the next -rcX release. Thanks, -Paul --- The following changes since commit c753924b628551564b6eea3c9896e4a95aa25ed9: selinux: clean up indentation issue with assignment statement (2020-03-30 19:57:07 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20200416 for you to fetch changes up to af15f14c8cfcee515f4e9078889045ad63efefe3: selinux: free str on error in str_read() (2020-04-15 17:23:16 -0400) ---------------------------------------------------------------- selinux/stable-5.7 PR 20200416 ---------------------------------------------------------------- Ondrej Mosnacek (1): selinux: free str on error in str_read() security/selinux/ss/policydb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)