Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3654103ioo; Wed, 25 May 2022 05:29:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF+nTYNfR4TrMorQw10f7H8Vamrl7oJbbrfM7O8/8EsVCGwY3NDPvd/i9oQ1cEaExKthYa X-Received: by 2002:a05:6402:528f:b0:42a:c778:469e with SMTP id en15-20020a056402528f00b0042ac778469emr33740825edb.404.1653481796585; Wed, 25 May 2022 05:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653481796; cv=none; d=google.com; s=arc-20160816; b=wPAJfGRvkyc7zkMgNEYLGi/heuSclGSIBz2BEiz+vcoFsI3gW/u90dpTVqHKg3OlAj nXc5eFTv8Vrhkcq9Qp2sL2poZBeW3cvl9kV+RbuBwAh/IkAvS/YeHOSuUGkG83sOxc4X 0BDXeDoNbxXYoPykvXQ5YgqYVzGUz33gGEFi3R6BkM7EgqJoDJHRndI+B0X0wYFQp+jB kZGDq3mceAjqll5S61qTz5JoUHOQECu55bnNB+6m6SH16Q8ww3jhyQztgxmgvcSBLUvv tGRUmvszmokXkAnABpk8EI9+9+glGmj/nK+sSmnSROY8IoQN/pJqTtMvk5iFs8s8OCDS W6sg== 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=rLUVYqYHRnzGASa+xEa0kNbzG+5aKTi4kEy4BTKnH7Q=; b=sZ0p1cGasOOd2jxvh0N5JGmR5DPoOjhH4bneLVKwQIFVYqpfTQsZBE2ACtoGeA7BeT 2X2NOXlH11dawfl608x/CVsOtVUAiWcCUmoasyDKOud0NBF//zP86LF1m1sGjSR56UJl 7c6Zfaz0fNHilgb9xmeydWb4ykSyeVIvSqihIQqF3wreW+3vPSGucf182wwkBu0n3LUa pXTsnbG/l6hjc3YoWR742PTEb3my/qszPTDOc1eEKlsAOdpobdl4pcJF3Vb8tki3+Yij GQY3RQT5Pi2bApEoAu9Ql7UldouKlztGk47sdoQzH/Nl3QtV5As9s/RfItqkbIlZEgm1 YREQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KKbkzFxi; 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 kf27-20020a17090776db00b006f477c78fd8si12593425ejc.644.2022.05.25.05.29.09; Wed, 25 May 2022 05:29: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=@gmail.com header.s=20210112 header.b=KKbkzFxi; 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 S242992AbiEXXmx (ORCPT + 99 others); Tue, 24 May 2022 19:42:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242965AbiEXXmj (ORCPT ); Tue, 24 May 2022 19:42:39 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5972F6D39A for ; Tue, 24 May 2022 16:42:37 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso3590538pjg.0 for ; Tue, 24 May 2022 16:42:37 -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=rLUVYqYHRnzGASa+xEa0kNbzG+5aKTi4kEy4BTKnH7Q=; b=KKbkzFxiYbPyTUYn+tS+VTzXMIY+fiqcQ8YitcBmyjt/9mN+RUwOrPnGUbgpSsoL1U BkKx3QiBmGGf5pW4ckOT0up0i+UnqmmjVSX/sfREyQBEas9ypM6YnRlmUPngGGE8h6AH F/oopUe7MuXlZ8IyiblAfOOl2/C1xOimx7Vc2sx8bkeuPDOd3Netl86mFC1mc8W6xazV PGBWSvwJeFyxDpTtcys71KKufpVPPVcKGBZY8DzannkzmovUWXAgDp7y/3l9U/PmmBE/ eygn44v6RCiVAjBPrzzHAnC0nbK3CCr5rsTRss070PoV9Ej3b5Dji+MKh+vR6ntEJhyu 6BeQ== 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=rLUVYqYHRnzGASa+xEa0kNbzG+5aKTi4kEy4BTKnH7Q=; b=2MIj78QcDRsnyesFlYPLPxpQaaOLNUXTOq+iIiKpbSzGQap+HDykLU73CAMqrGa/EO jOLiCDb4P47QDhTS/GzRzjeTS+nvP/yUYe05m54YFaVBYZW/GLDuWz8a7d/Hy8AmFgJw ejMG07djAlHqLOTYS4t0feSR84wwEJLdN//29ODn8y7U2L3W5N6s9m/YR99xmFAmvR9O vMfuNzm2Dy6ta0TFEIYH814Tqhy4rDa5KRzwaMGXcYMdgA0IcnVURgzwpe3hCsbwt70p HgMLMbDpYkZ86+cYbUcwiS1x2krPPZHYm3JianVaPrv+Nj43JBhhPHQ+jYf15UaTxFoK cZng== X-Gm-Message-State: AOAM532v5kF3M8WqYjst1BBNv+UtVc1mIOOy2jrRvwylFkNcGKxGuyRI 7ofV7VQdLHNb33NV5gM3Jg7kb36F+Yc5oF5mJGRGLvlI X-Received: by 2002:a17:90a:3cce:b0:1df:8f80:ef7a with SMTP id k14-20020a17090a3cce00b001df8f80ef7amr7286993pjd.4.1653435756728; Tue, 24 May 2022 16:42:36 -0700 (PDT) MIME-Version: 1.0 References: <20220524202630.3569412-1-luiz.dentz@gmail.com> <20220524142128.01acb75a@hermes.local> In-Reply-To: <20220524142128.01acb75a@hermes.local> From: Luiz Augusto von Dentz Date: Tue, 24 May 2022 16:42:24 -0700 Message-ID: Subject: Re: [PATCH-stable] Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name} To: Stephen Hemminger 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 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. -- Luiz Augusto von Dentz