Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4159732ioo; Wed, 25 May 2022 16:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxZFm6b9RmVXEkyKJhvqQGLBnddYNmA0ly05vaWCN/iJGjDU56V0jPH3lLcZ+Al3V5jDt+ X-Received: by 2002:a17:903:1c1:b0:161:aa16:f279 with SMTP id e1-20020a17090301c100b00161aa16f279mr35615805plh.88.1653523072166; Wed, 25 May 2022 16:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653523072; cv=none; d=google.com; s=arc-20160816; b=kYyW5SwWlWVwkUCbLfkPCVowjspbGZuMgYpamMDqGKQ7nLD0uGbliddnB2uXoLZkyX FhgVMo7T1Dt6sFdZXKN0KxkehtHniW/1BKAzxtgTbIABK+Ispgv8KBfN0Q2PasM4d4jB 0TK0d8HWZAe1rGK4Gi31hLMh5ZmrN+kIiFOJByWc1LRy3w3XWajHxRBvVft8fFLVtJ/z Te142Gy9Lhj8jzTGVZcxtID6JQmYsw+ZHGuIJXxJXwxRpJZD7FtsfrFZKkCNlb+vdleg v5WKZi0bzi/jI5tnsj4J9eD/xwmqxfA/N7zFVW93HldwEEkITa19gkjOmR/vYdWdKzHb EDzg== 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=XQim5f8Blg6wTtRzA92Ny0+Y3tYyPf6lm60zU6/FcB8=; b=uw9gUgOdAavH2GDxCxAV7dtJwK0T5UbWuNWc5H+3/6ZP1peJGnXqe4kXn/FoKPcdC3 hTupFu4zeG+R5ei+Xb2HmMo6iYT/QrMklNlJ2uz8erLPnC/NfoTpZ9WdBcSWhwOpTRwP 6/nrRgbE9KVyD82zb6R3/NOS9NNtnGzMMh5Q2AwD5PDAcwUXsNB9nchCKVggRNbWiPGV A7oCt3+dSUfP5GlftOdQE7zNFtxlOz1C8bZni3zvo9CuyW6Qvkl2Rb01FePRbnX80jM8 L7Eo+X/BYZJKpq36KpgGmYCA25Is2daBCKRLQ94eOJPvu9nhJmnolYOmK45ftoal2kj+ 0xfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SNitO6aP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gg18-20020a17090b0a1200b001df1faf6ee8si304750pjb.58.2022.05.25.16.56.33; Wed, 25 May 2022 16:57:52 -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=@gmail.com header.s=20210112 header.b=SNitO6aP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344621AbiEYUJX (ORCPT + 99 others); Wed, 25 May 2022 16:09:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344136AbiEYUJW (ORCPT ); Wed, 25 May 2022 16:09:22 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31E12558D for ; Wed, 25 May 2022 13:09:17 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id ob14-20020a17090b390e00b001dff2a43f8cso4412710pjb.1 for ; Wed, 25 May 2022 13:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XQim5f8Blg6wTtRzA92Ny0+Y3tYyPf6lm60zU6/FcB8=; b=SNitO6aPA76xIkyWfbHiU2IdEzt236uieAcl0waAMAc/7bF4+rE8nYR7XKRQTB2i95 6ZuMdHiy2kANhveXFHmPY5DmYEtqyyEPwCs7uL5MchatdGCwXHG5Cp54F3p/WNmAVUW4 YDiALEKi1tI1L/p5zx4pPIfZp9E9nt7Ntr7phabZj+oWTxeghzeH+GSRCWZ6ajYOqQnE 6+9ins2MC5jM/JhPcg5dmBTTKWqgmbjiX9Xj5HY7MXf+1ikk4BQnVtyz6qrUEgvlTGAT 8s22nngIMWH92nZ0Sux4DHlhl3iaXnmszWJU9mmATIfGC/GniiHtGidInqqbWuOnexFd OlKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XQim5f8Blg6wTtRzA92Ny0+Y3tYyPf6lm60zU6/FcB8=; b=lXazZP7PfHoAsi1ptnYOXjLNUiX2ZQpSnbbWOsB55I43bzfDZsQqoBG1cHT6qS4Slg CWB4KkDlJRTasGuJuB1pN5MhLDX9N61Jt9VA2col463QfgWoamBCnscSNdDXL/MlcVh2 dKGnkjCm3WMmnzWKZ6qw6UFKTN+/YNjD8qMthSe0hDhaD3lqbn7RDk8/sZpUkUY6KrVl YASOAe329eqiy0mC07Sfs9DwmbKYiAngw3oW1rZpKYaeP7ZdOmZvD9vptFO7lz0FxSsC hgR+g1Xqq4ihU7t0/ICg+H132tQRRy4fwE3s/jnLDP4jn5feJlC2hfcTNVCArZHejEnq NE0g== X-Gm-Message-State: AOAM531Bq/tMkrn7avN3bkHulW0a27Y0sE2exgJDq/wFNCAqvHRaEtmB TgI8qHBeHIia5Md53q/3bzhcajd6Yd+CK2Ibwm7ozMhiWG8= X-Received: by 2002:a17:903:244f:b0:162:4daf:f8bb with SMTP id l15-20020a170903244f00b001624daff8bbmr8440437pls.20.1653509356644; Wed, 25 May 2022 13:09:16 -0700 (PDT) MIME-Version: 1.0 References: <20220524202630.3569412-1-luiz.dentz@gmail.com> <20220524142128.01acb75a@hermes.local> In-Reply-To: From: Luiz Augusto von Dentz Date: Wed, 25 May 2022 13:09:05 -0700 Message-ID: Subject: Re: [PATCH-stable] Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name} To: tomu1@verifone.com Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Hi Tom, On Tue, May 24, 2022 at 4:42 PM Luiz Augusto von Dentz wrote: > > Hi Stephen, > > On Tue, May 24, 2022 at 2:21 PM Stephen Hemminger > wrote: > > > > 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. > > Sorry, I guess we should forward this to Tom then. Could you please check if the following change does fix the problem: https://patchwork.kernel.org/project/bluetooth/patch/20220524202630.3569412-1-luiz.dentz@gmail.com/ -- Luiz Augusto von Dentz