Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4832428iob; Mon, 9 May 2022 02:42:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXNvm2ZZ5+ZZvGGx4YBJjHLKhhs3AqgosIsaW9loUaoD9kWPfOlAKiAv/icrljg4iqfRwN X-Received: by 2002:a17:90b:1642:b0:1dc:6419:43ff with SMTP id il2-20020a17090b164200b001dc641943ffmr17423001pjb.229.1652089326155; Mon, 09 May 2022 02:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652089326; cv=none; d=google.com; s=arc-20160816; b=V5MWh0f41apKbiyt2I+BEZrCI25h56f+TzTYBBcOIKikL2IP2l+oIaQ/OdHrm18Hng badrvDY5tDj9OR5QVmy6BGQb8UbAbEk66Xf9hILYPi58VKJ9mE4KQ2bSOuF+tWfZNqFK DrLsAP6DaJVtvVZtTfk5OpiXpBehV6W2VSCzz54UTW3cbcF0eHcgwjsD+um5qsVotcsV YC7qElbfZHlUekheLgZf7ZU91grcL7F3/g8Y+z0UglX7cfLZCZMk3vpxYWQMyCejcvXV PnyzEplwQWkEuOKaVSi470qN/2yhF2vWd7c+XUqxcfybqrJx0E2dGLFJtAPO45qCrALB UGcQ== 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 :message-id:date:subject:cc:to:from:dkim-filter; bh=ALbSjM1I3Cedy4uORaopu/Ut904N0xfTLnG9CMZFrzI=; b=WqVkv3lZfs9bbawK98fW74Y+lRp/nwAfgZ/7qoJxMokziTz2ZiO0IkyHQ01BRdXrgi hoGm1IHymBbFJmqVrshKSQ7Pszs6ZxoYEYKpSYvQc/7dYDHG6HEkEw+bSTkkH0PQL5sd y00YVOmBwSPtu1Tua2rgSo6TV7UCio6Imnj02+kFaPKLwe9RUg+CCbVa/695PZRUAJs/ zVk8EQ274lcDjQmPHy4MImIn/k0wDgNTqXIAZ324oeruccJgcjJr0hQnfF89DE8KnpzR h+CzUaUM8NSX7330Q75EfPI8+jocucIGDI501vHW8vw6n4uc+wqmFrIiZVebwnjCZQEQ PjLw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k6-20020a63ab46000000b003ab4a15be1bsi13607329pgp.646.2022.05.09.02.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 02:42:06 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D69CE15352E; Mon, 9 May 2022 02:25:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237103AbiEGRLP (ORCPT + 99 others); Sat, 7 May 2022 13:11:15 -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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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