Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp608434pxt; Fri, 6 Aug 2021 09:20:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFuy3vNzMT90JztepEbT0I3aFEQdJKbk8stIULPNPf6Yo+9HSa0xbvbtLZQrtqrJNiM4Fh X-Received: by 2002:aa7:cf98:: with SMTP id z24mr14236287edx.136.1628266817970; Fri, 06 Aug 2021 09:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628266817; cv=none; d=google.com; s=arc-20160816; b=XKwzmSX0JtuwLw0zNhxeeleeXkMvXxPf10h6fpW8SrdLDrGOe9NGPDcrca9boCagc3 y1wD/D64HupYN1Z5fI6c8TVXzxgiDGioIewRK4a5Z6cXzIe0rOHR6IWN2EkCj0d72lkp EKdA4VhVXeRwF9VjCE7m8ZTNvJrbxsWsYbu0KjeltMLtpGGjUB4YhlwLqZc/kocMhN2r 14UPbmksPKl7B/u7BWfGCf8KRtIai0Tkuwkn40pgq63+8VDj+JNEWc6xtsexPiJj0Be6 wnrVWA3j3jNsXzaVeQCplUyNDPJF0SCMl8+mZTFyZDo8+ivaqFPRWGOrLxpgSMpCeIhC agAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date:cc :to:from:subject:message-id:dkim-signature; bh=qvwVJlh4ZViaD8ZQdZR3E+uWZGjkXMTLA/OAcGiTvY0=; b=X3E6AcAdoi6BsD8aQ53TWYpjBnR1m+FO4YgxGLrS7IAtac+H11aZOdTqtwVdMRtHHo KtRxITd1mdwfMcACeJaphaITLWpEOsUjjJJJFFpY5K1v+/urzJ1J9IMwiUwBDggQz3F/ klyKVmYj+0rY5YDRJKQjjCBJogVh2B/El4t43Vrk2n08V/EhrBwqhtzWYVrocDUp800G mSeQphv4JdyaM7XuEYE1fLLyLc9gKMMQlOedY6HrKZdIZu9F3qOxRN0dg+R693V9+EDj GKIZxNUd3DzqPqzs35SXrl+AqVi7dHNZ8j7Lq6KxoY6KVPePNbx9Ssx1ddjM/OaRM2c1 dfFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YY5/Z963"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp20si1395037ejc.700.2021.08.06.09.19.41; Fri, 06 Aug 2021 09:20:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="YY5/Z963"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343626AbhHFM1X (ORCPT + 99 others); Fri, 6 Aug 2021 08:27:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:36737 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243739AbhHFM1W (ORCPT ); Fri, 6 Aug 2021 08:27:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628252826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qvwVJlh4ZViaD8ZQdZR3E+uWZGjkXMTLA/OAcGiTvY0=; b=YY5/Z9634i4NQy4yCiUXJtTtcGh9sVpkOa1p7nEzdXthVqk6ceEm2m4mohfZura1Yt/ZUs 7tKuZyCzwUFhfTG9QrP4tj38mA8IxrfTEPUgBOrCSa8okkx/9un3XrrYrEcHIhNNZ1QwWp cULjHnTMwER0jPZ+pTco9hYEJDguyhw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-603-H266kHiNPwywjpII05Hifg-1; Fri, 06 Aug 2021 08:27:04 -0400 X-MC-Unique: H266kHiNPwywjpII05Hifg-1 Received: by mail-wm1-f70.google.com with SMTP id 132-20020a1c018a0000b029025005348905so2394455wmb.7 for ; Fri, 06 Aug 2021 05:27:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=qvwVJlh4ZViaD8ZQdZR3E+uWZGjkXMTLA/OAcGiTvY0=; b=R+SXl8khSHpNOOOEyCQrVV7eIfPo67GZqmVtEcl+WxhmvHeK/At3rscBZX2FbhZIGA 7G8wYiQXSPPlUjSmPo+1FveZjPZvu6+Cfh1p5SPk9HY2lhYC/wbmRmWAzYzm0e1uIA6V nS9dLvzsbYkLaUMe8JshToViYxTbVRS4WJrYNaMt+aqM7E3qF19bxYEp83SpU/Pzw1N2 8hIQpGMpuAMejo7B5qfvdYjiBqBaJzpCqAf3y/AUHT8Jx+GHWeh3LxmfeiewxKiYjFd2 1doOpIDyvzDUxl46vB+7Bhlrapu9AXz4hz69EqqdnZnrEln/AZkiQM9lKQpDI6qxUmdN jqOQ== X-Gm-Message-State: AOAM533ejsDNRh0eQU7QLhH/4roX01OI+lXudPCvcE6vsX7gL7VfEcUu P4ic/1698PDuRrK2KENlQ2ibYHeiaGZSJ+NCaX32eM2iauYkZwacPOlTzaHa+oJ0eTb9AwSQQBW 9+0j3uoEHJEv01KKYUc2zNFwQuVYhSwIkLUyrHI7hspKV7gQ1yjQ+WTK4F1DB5ahCmovyYtFtk9 M= X-Received: by 2002:a05:600c:2159:: with SMTP id v25mr20483657wml.187.1628252823776; Fri, 06 Aug 2021 05:27:03 -0700 (PDT) X-Received: by 2002:a05:600c:2159:: with SMTP id v25mr20483642wml.187.1628252823553; Fri, 06 Aug 2021 05:27:03 -0700 (PDT) Received: from ajmitchell.remote.csb ([95.145.245.173]) by smtp.gmail.com with ESMTPSA id j2sm9615691wrd.14.2021.08.06.05.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 05:27:03 -0700 (PDT) Message-ID: Subject: [PATCH 0/4] nfs-utils: A series of memory fixes From: Alice Mitchell To: linux-nfs@vger.kernel.org Cc: Steve Dickson Date: Fri, 06 Aug 2021 13:27:02 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-16.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This series of patches fix a number of potential memory leaks and memory errors within nfs-utils that mostly happen under various error conditions. Signed-off-by: Alice Mitchell Alice Mitchell (4): nfs-utils: Fix potential memory leaks in idmap nfs-utils: Fix mem leaks in gssd nfs-utils: Fix mem leaks in krb5_util nfs-utils: Fix mem leak in mountd support/nfsidmap/nss.c | 4 ++-- support/nfsidmap/regex.c | 1 + utils/gssd/gssd.c | 10 +++++----- utils/gssd/krb5_util.c | 18 ++++++++++++++++-- utils/mountd/rmtab.c | 3 +++ 5 files changed, 27 insertions(+), 9 deletions(-) -- 2.27.0