Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4667224iob; Sun, 8 May 2022 21:14:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOPRau+lkgTw6r6v1QH7yMJnzcmW6ZBElbA1w3RpJt4yQLnAN3OLKkclD9speDPH6hRCMm X-Received: by 2002:a05:6a00:2450:b0:4f7:bf07:c063 with SMTP id d16-20020a056a00245000b004f7bf07c063mr14228850pfj.51.1652069686032; Sun, 08 May 2022 21:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652069686; cv=none; d=google.com; s=arc-20160816; b=dDnX8PqZ2h48c1YxmEYVX5pz3MAS6x3l4KAYjZfaSljcqGbT7uXx0euPlsbxFtba/4 BO/FCczWHtYn2gfkVDcNOhxxlfqF96sKBpfuHtwtAlxFzlGAcF0blcEk8UgcgwHIiugk e/eZZdV7KOp5GwyGbUtp+O73LVh+KegRhFb5bZiGh+Rtt/ECoSuYP+Zxv2xNC2YF+C00 1MYfNu/koU33+Ks1W/FpgXEnREJD8zuKVQZXvekZlIJSZj4aqeNqZOaRx6acksQ+TjQ/ 7yt0xxOjY7+7MzSfXG2gNpc6dnFbJsjNggAribHSKiF21RbgXuMsQfe8rvvL/PCI29xH 5Uig== 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=PyQdSb2yf/ZQDczVsqz9XHbY/2FWbXJ0uAJxcxQwojI=; b=Lxw/iWdMXfbQaRGkZ91rWPMrRmyjv088fkVnIstVd6Zp+26mrtHuD1T5xZi7ddfn4w 0kicPMDduYepY6gpbAxG31JSopTlvB7Lg2nNKDOk1OgkyR+DwILcpIfiIC6991CyUzVW V3BsfZpy2XTSnz2H6vVpATT0iZy8J10IhG6TLtfhRqpgDtIGm75cWqxG80zI5b7sCUH9 VCQq1w58lZWK2F/Z6b1LcfF6U8IgUs0HLAvWf/zSdhZ0K1v14kYnyud9TjD4WQl/E7rq RVWXK7yF58P/FPsNsZIrf969EYBDA66UYNNGApM4VZ+rwurT1GPBRzFyTZobwtCxIQK+ N2iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z3-20020a631903000000b003c66b60b375si8029496pgl.712.2022.05.08.21.14.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 21:14:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 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 9C8A91172CD; Sun, 8 May 2022 21:12:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243926AbiEGRjJ (ORCPT + 99 others); Sat, 7 May 2022 13:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352051AbiEGRjE (ORCPT ); Sat, 7 May 2022 13:39:04 -0400 Received: from mxout04.lancloud.ru (mxout04.lancloud.ru [45.84.86.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA24A22509 for ; Sat, 7 May 2022 10:35:16 -0700 (PDT) Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru 56D0F20A451A Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Ildar Kamaletdinov To: CC: Ildar Kamaletdinov Subject: [PATCH BlueZ 0/4] [v3] Fix few more bugs found by SVACE Date: Sat, 7 May 2022 20:35:01 +0300 Message-ID: <20220507173505.31249-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: LFEXT01.lancloud.ru (fd00:f066::141) 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: [v3] Removed trailing whitespace (style issue). [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