Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3183089ioo; Tue, 24 May 2022 15:27:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4cpGK4Uhm5aXPXpXknZxVgZqFA3BIazxhrkuOrmzRCzN28OIIkRsmFUXH1YvuxxPBK964 X-Received: by 2002:a17:90b:48c6:b0:1df:99d9:997f with SMTP id li6-20020a17090b48c600b001df99d9997fmr6858869pjb.242.1653431276340; Tue, 24 May 2022 15:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653431276; cv=none; d=google.com; s=arc-20160816; b=iWvAXy6HsMgnftuzbn9LCRr3L4teVw9RzquZnYpayNFS8h5ccZk8FOT9/hh5mpJfUo 6Y17oabSL3HWW2bLoxy7w+el2U1P+AOhK9lLhnCmTF6mFsaRYtr1Z+DJ5Nd3ppn7bpdo Kc4lQUzqCijFWgT78/4siWy9hfvh6UzOFdjEMD8TDoV7lmIvSiyL9IL26S1rZUIlXMxC Ud2k+d853n1peuctwFFstWzw90R+WR0CBwfJ16ChbcWdN1/7rs/UPS72f3zLwzotc1w8 KbLcPa5RAzHPfUoARR2rZ8fJzOvJsUqjuk0sBQmEQeKuSOaQHSf+pKsoK5VhqKYjuD9+ yRCw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=8LVh5+uHWDfw3tFgRQN+VQcoc4Kz7ETRMta9HJRagE4=; b=uAhprB7LqqrUL1RPHTENWZuvaMhZ4m/linYTbiri47cSONWB9hao8RXhrSeV2IYI8s aQXK9WoTVv1slEswNBnefBlavXGxVJIDL7TL7f9SZpejLxi/SAroykFK6U1z0KEDY0xu viqrdzlwvqot6zb6cb1ecYdcks2iMZOWAH8gDll3nIaXTobBlWQkhRrrzA/XA4SGfMPt wxzUKaMmW1ObdMJ3/RC4C/ByIlOa1eUOHWeXbPujJg7rDj5ZSBjSYLCLTKgKNoY5anDd SXwEG/hGVhUUyWPhutNFZMObKXaftGLJEVJDCR58U2Eh63JBqgqEyYeWcR73QAjVHHjV 1zXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20210112.gappssmtp.com header.s=20210112 header.b=ji3FdMFq; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bc8-20020a170902930800b001614094bfdcsi14627161plb.596.2022.05.24.15.27.30; Tue, 24 May 2022 15:27:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20210112.gappssmtp.com header.s=20210112 header.b=ji3FdMFq; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241458AbiEXVVd (ORCPT + 99 others); Tue, 24 May 2022 17:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241900AbiEXVVc (ORCPT ); Tue, 24 May 2022 17:21:32 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF0D37A0B for ; Tue, 24 May 2022 14:21:32 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id y199so17510745pfb.9 for ; Tue, 24 May 2022 14:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8LVh5+uHWDfw3tFgRQN+VQcoc4Kz7ETRMta9HJRagE4=; b=ji3FdMFqIbZFfZBEfv3Y+ltTybqA7UMCmJ1ViBwfZTMDm4eAwHw2xTuIxZb0vJ5aCg +FqK/QM3+ZZ+IrtKHSygIXoroTcTzq9iW34GoBWD+ebRqj6u9K8qa4SQUCAOXQoOAZJn qIxGA64BzapaLFUKnZQWn/qWSYPn+5Ka7BGVEvBfrrJJAFa7OL4y5ug5K61RNtF2DzV0 YBjAIz0TlB4Jv150ylgNNo/2cDSG6x7kwelEsP8FONIVnqcMunyU7o2cAwyW/Kdk89hr R/fyIevGJZ928M9rDN3+rfJwrpNYJbsS0HhtbZzXKq4/2uiJDoAl15I0+vIzh9r4j9RL KCVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8LVh5+uHWDfw3tFgRQN+VQcoc4Kz7ETRMta9HJRagE4=; b=x60sR5WCCf91g511aaKQ+vYMkJli3c47nXEGmKjPDz30f+Zbgbozq2rX0VL8WKkpSy YzrrwfC1MZ9e5X445gFH2JBFxGiktLIVCUwaLXebRo9MFxN0DhYOZUqkrBcTv329n8PN +BwXnJpKoWqSGUVAFAEKfmh+B8L2KeExDxvbdQ69qqDxgFxpKF8IiKv1jVFMEeT/oxUj Ikxv7mYlVBYgwNPxJ+Ka9ou5CGi/ziEeRK+yND3yEDWlNw2cL1K2y/IBVLxdWTOtI9RP fex0O9gA8QWzcwqbL0aWvBHedYS78suNc1F9a70lLZmNHaUktCAnAjthNsIllSCqxAkJ 5cCg== X-Gm-Message-State: AOAM530LkcbUHKdvgo0RskYE2dlSOTgkfcQAW+0WUMJkadufjtx5vsVC 1PX2AHbu9LMfArwL02sKwgI/gQ== X-Received: by 2002:aa7:82d9:0:b0:4fa:2c7f:41e with SMTP id f25-20020aa782d9000000b004fa2c7f041emr30730013pfn.1.1653427291489; Tue, 24 May 2022 14:21:31 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id s32-20020a056a0017a000b0050dc762814asm9986464pfg.36.2022.05.24.14.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 14:21:31 -0700 (PDT) Date: Tue, 24 May 2022 14:21:28 -0700 From: Stephen Hemminger To: Luiz Augusto von Dentz Cc: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH-stable] Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name} Message-ID: <20220524142128.01acb75a@hermes.local> In-Reply-To: References: <20220524202630.3569412-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Tue, 24 May 2022 13:55:57 -0700 Luiz Augusto von Dentz wrote: > Here is a tentative fix, I do wonder though why you were trying to set > the name directly and not using the likes of bluetoothctl/btmgmt? > bluetoothd don't seem to bother setting a shortname so it is probably > not reproducible with it but btmgmt does: Not me. I just forward reports from bugzilla. Any networking related bug reports end up going to me, and I filter/forward them.