Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1374805pxb; Thu, 4 Mar 2021 09:40:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzHLbE0MVIV2PzPSceo7y7aeVuhxkkVIOiMkjDyFwCQvxKzg1C+2LXkSqOVORVXFG1A0El X-Received: by 2002:a17:907:b06:: with SMTP id h6mr5494833ejl.144.1614879646978; Thu, 04 Mar 2021 09:40:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614879646; cv=none; d=google.com; s=arc-20160816; b=I4XO1uKWrDv6pvG2sF1D3SlPz8s7sNCVDluxxyJ4nJWZUqJV5kwuBKVtpfjMLJdqeL UV2SsY0Oh+caIP4TYqxksdMXXgwo/gxlZNXMPoOmDWDFJqMU2KHapRpSmuhznXFGNhnT oZY9kZFDIG3xDJb7BuFpP0+TEmge7kH6g1ayBZ+WB1SYg9EG6I2GZlYK/pQdWao+BXAw 0aT9OrzwbfspAJDWboP0JgDEQmz6mAcFkKddNmqiH6wxzJKjS1V9OPlT7/pB+VQEuqa0 kbGuI3AP/B0jMtNV/lub42y9L2bLouWK7mDglsp4tipb1ubG29ANgOJ2l8F5TIJrqNQD TwxQ== 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:date:to :from:subject:message-id; bh=i5e79N6nIwo/VJGbnbNRe6y5tNFF//sWRLedKKFbodY=; b=U7+ErXi/yTNuu84kI5BilYnvvnaFaWLhbUfOiXN+f5N1UhS702WPJnzJt7L4Vf2uLB QKsJv+rQTF/k3TYpv4unQnXQ6RTKp7bz2ABc/2td/ib6h0s/R8msC3E87N1vamEraJYk vKjtEw/YhzyFfk8iBcSnKhCXgT6Hg5Fdjzd+BUNdvuoVdZUTziKWUg/S/yrgunCzRm2V lo+Dr5TfpziaMp/aR9dpEhu36Mi6CxD/IAwlPotKsZyClOe2ARFx5r6isyxIfj7bP8lB EW7ZuF+2y13SsFm50l31XRXQbFJw8WxvgaW7wsLgoWwr/d3oDnUtq1I2RKOFE3Purt6F jQ1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w21si11146161ejb.465.2021.03.04.09.40.14; Thu, 04 Mar 2021 09:40:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232896AbhCDOC7 (ORCPT + 99 others); Thu, 4 Mar 2021 09:02:59 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51468 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234098AbhCDOCu (ORCPT ); Thu, 4 Mar 2021 09:02:50 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: rcn) with ESMTPSA id 0D0451F46436 Message-ID: Subject: Bug caused by moving to BlueZ 5.56 (bytes stripped from HoG reports) From: Ricardo =?ISO-8859-1?Q?Ca=F1uelo?= To: linux-bluetooth@vger.kernel.org Date: Thu, 04 Mar 2021 15:02:01 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi all, I discovered this fix https://github.com/bluez/bluez/commit/35a2c50 while debugging a fwupd plugin for a HoG device that implements its FW upgrade mechanism using vendor-specific HID reports ( https://github.com/fwupd/fwupd/blob/master/plugins/pixart-rf/fu-pxi-device.c). Initially, the developers were using BlueZ versions prior to 5.56, which is the first release that includes that fix, so their code was written with that behavior in mind. After moving to 5.56 we found out it crashed and we needed to adapt the code to the proper report format. I think this is the kind of issues that Dean mentioned here https://marc.info/?l=linux-bluetooth&m=160590969013204&w=2 Have there been any more reports like this? Is this expected to have a greater impact than initially thought? Cheers, Ricardo