From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71BFEC433FE for ; Sat, 7 May 2022 17:07:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350851AbiEGRLQ (ORCPT ); Sat, 7 May 2022 13:11:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243622AbiEGRLC (ORCPT ); Sat, 7 May 2022 13:11:02 -0400 Received: from mxout02.lancloud.ru (mxout02.lancloud.ru [45.84.86.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6921B3B037 for ; Sat, 7 May 2022 10:07:12 -0700 (PDT) Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout02.lancloud.ru ABC95221F3D6 Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Ildar Kamaletdinov To: CC: Ildar Kamaletdinov Subject: [PATCH BlueZ 0/4] [v2] Fix few more bugs found by SVACE Date: Sat, 7 May 2022 20:06:59 +0300 Message-ID: <20220507170703.29902-1-i.kamaletdinov@omp.ru> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1910.lancloud.ru (fd00:f066::80) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch set includes few fixes for bugs that was found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. Changelog: [v2] some minor style changes after CI check. [v1] initial version. Ildar Kamaletdinov (4): tools: Fix memory leak in hciconfig tools: Fix memory leaks in btgatt-server/client tools: Fix handle leak in rfcomm device: Fix uninitialized value usage src/device.c | 3 ++- tools/btgatt-client.c | 6 +++++- tools/btgatt-server.c | 5 ++++- tools/hciconfig.c | 6 +++++- tools/rfcomm.c | 4 ++++ 5 files changed, 20 insertions(+), 4 deletions(-) -- 2.35.3