Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp897779pxj; Fri, 14 May 2021 20:18:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK+zbMBp0eTbtb+EZL4UatJxkw2cJXbQhLNi1EX+EJXi3zJgYaVf9lY3VGYK8OPTEvCUZc X-Received: by 2002:a17:906:a055:: with SMTP id bg21mr50935516ejb.554.1621048713051; Fri, 14 May 2021 20:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621048713; cv=none; d=google.com; s=arc-20160816; b=yb9h6HyEVW3H16U/Y6iqfCxdzhr2E9X0DSnsPsLXwoizwI1h3/cwfnFz9/VmYTmgHd SW3QHB0qXFG2m13VqWROnSlNBWByG2kRuFV7tB6qvlKjnWMDjtGKbjqA980LwsYe1nX+ GTObt80Blg4/36M4dbALUHEpQq26Rsdf8QHLPRTtZixdUOt61XWEO2kMxIBEVxzhKmvx ze2h0gAL51B74L4ouXHTxfehaBjbMV/iKWJNbPwpe5kq0UgjYAnVpeGceXs/o85cg0HY bFXD2uDhY2r1yvJ0wtbZrjkDRP0sVZY3+J+oLVTs2C/JPOBl0+W/XBjJMkaXxBtqzAkE S76w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=s3kZ1+vNrRPCPmoLp2v6S00Lb4r6G2+yE2b74wUvKYE=; b=VMyWk7gRctGLeHO7HRi69R7Bhuzxqi/AelDQzNMPBAxqNpaKNTtzZsNdF3LVUzIO0x e1gy2ZYfVW7EBoObUexZJQ21IYr2cfx/i61Hf6dGAIhTDapSf5Aa0oAS+0GuDuu0nlEk w8Hn3B9NmycLe/sOv52UxySz3d81ylr2kKKK8UyJahv1QJbjjNcpvnBAtjTRk9iLZLJD t6eepD/8kWcPH+zRmPy1YIWN1EkAo338IVPsrBB8ZcZtMaaelex6gGaX/fKyLDOIO4R1 GqdXiAeoFM2ZrUnDR+gqnJ5g1E8qsUzjg66xwyKcppIuBr4XeSJ1BxyPKA2b73eC+4gv H3wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KsXI2vg2; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si4169439ejw.605.2021.05.14.20.17.50; Fri, 14 May 2021 20:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@gmail.com header.s=20161025 header.b=KsXI2vg2; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232623AbhEOALC (ORCPT + 99 others); Fri, 14 May 2021 20:11:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231296AbhEOALB (ORCPT ); Fri, 14 May 2021 20:11:01 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F74DC06174A for ; Fri, 14 May 2021 17:09:48 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id f9so1161298ybo.6 for ; Fri, 14 May 2021 17:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s3kZ1+vNrRPCPmoLp2v6S00Lb4r6G2+yE2b74wUvKYE=; b=KsXI2vg27YEx03Zch10UZYYTmcGSx4tfxG4+dDYKIhnnQCq+NbZw94rsgJ3wvAYwiX sXsJkQ3dxqbCh65+RDj8E07E4CPWlShMWByOmX/14Z/Eue8zZAix7cqapuZNZe5pKBrq 66sWud2m6d0QaWFyD/IitB6FHBOX+02vAT0qTHSQM4y9RohhvpBYp//Jn498IOZs4spL 3Zq1qgsxJNf3cL1c14g56e2/pEmGZPg0G1wkfKATIytsJEtg9wubQOK0+vd3t6Gzbq5b 1uqxjN83x7KE5xXy8QSrHV+pyWsB5NRjP9xxGC8xkl8F7Dq8W3mb6OUuT3nXL2k4z0s8 ZO8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s3kZ1+vNrRPCPmoLp2v6S00Lb4r6G2+yE2b74wUvKYE=; b=YbyfPQC4+NLxrWKQY1GL92g+hEa47iWY/9EXAyr0cfZlTHxpV7LgeFGQaR2my/ijnR +muwO0/lSMCLgdRPcTqjOuJLkHuMYjxGDnpJGl/hy4DB9FJ4EyialELFGNYoSly/ju8Y 3o6MaiofsqGzcn3F+jbs+jWYm/Ndqw7UpM8d6dD62MO6MZFTam02QTp+l64D9Ol8jIUQ Qfk+qQxeZEtFNXKmgYMi0lOTQ72vG5yZxmKh8abYrYv51um7HC8c8IDkzdAlEDU4pfQL eu+ADjXk5lm9UvUBouB2ifzuz2T3lQ67nEEIbR5i+RwXVb47Vbpqw5Y0zj1xHRt02leI rG8w== X-Gm-Message-State: AOAM533THhKP49uE4KtpZY0SOGuXGTdv2RGopkJ1OT6iqVJiUJ2vKiv8 MtUQGppQ8oS6VRDM14nEeh4Bgwt04OdBVF12Rzc= X-Received: by 2002:a5b:286:: with SMTP id x6mr69769510ybl.347.1621037387767; Fri, 14 May 2021 17:09:47 -0700 (PDT) MIME-Version: 1.0 References: <20210514095728.2b7cbef5@ivy-bridge> In-Reply-To: <20210514095728.2b7cbef5@ivy-bridge> From: Luiz Augusto von Dentz Date: Fri, 14 May 2021 17:09:37 -0700 Message-ID: Subject: Re: [Bluez PATCH 0/6] Fix various memory leaks To: Steve Grubb Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Steve, On Fri, May 14, 2021 at 11:50 AM Steve Grubb wrote: > > Hello, > > I was checking the code via static analysis and found a number of > leaks throughout the code. This patch should address most of what > was discovered. > > Steve Grubb (6): > Fix leak in mesh > Fix leaks in obex > Fix leaks in plugin > Fix leaks in profiles > Fix leaks in src > Fix leaks in tools > > mesh/rpl.c | 4 +++- > obexd/plugins/filesystem.c | 2 +- > obexd/plugins/ftp.c | 8 ++++++-- > obexd/plugins/messages-dummy.c | 1 + > plugins/hostname.c | 3 +-- > profiles/audio/avrcp.c | 4 +++- > src/main.c | 1 + > src/shared/shell.c | 1 + > tools/mesh-cfgclient.c | 2 +- > tools/mesh-gatt/gatt.c | 1 + > tools/mesh-gatt/node.c | 12 +++++++++--- > 11 files changed, 28 insertions(+), 11 deletions(-) > > -- > 2.31.1 Applied (excluding 2/6), thanks. -- Luiz Augusto von Dentz