Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1933228pxv; Sat, 26 Jun 2021 04:48:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB7xq0CrsMbObVq4wlhM6fKROPN+KUWwwZTQswkxHjvQcWKHndPHwJYZOQuXtjR2EuIS88 X-Received: by 2002:a05:6638:1349:: with SMTP id u9mr10000278jad.43.1624708117208; Sat, 26 Jun 2021 04:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624708117; cv=none; d=google.com; s=arc-20160816; b=eqDoQC12wGCnFFTjqlYVpOl4G6M9z3FYDNgHCytZ5ReTwGX8JYV2lU9MU79/ZV1Dpn SfUwfUvQzytsVMQc2JhkiwAZQz0U7Gy3G5fiSgmyzgWOQxEU0hsyyVcrR1AiWP+4pyPx xkbBriU/5wW17wEyWHYIURQjqFtvSgzMoE1Rvv0ivqZoVKFxIshHr4ANER7PGZ42qJqC iBaAzE+sGP3GzYbyW4dm47FdO0+2NA6i4m6nfcTP8hy97Pj0IZmyyBVY9S3cgQ0sGKay c7mfiHUe3JqRZ0p3ekLdPL7jKCY7is0tFJ6gn31+LHESJMph80G6NEErj9JeiSmTOycy q63g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=iD6UlxSttVDb7EnnXFsDzZvUfsf4FN2OlXfYInO/xiM=; b=ij8j+ymuWN3dMjXhgGU1hZQzHOrmvqxWSCFWcYvsN6ni6VP1V+a8MWE6AhD94JeLW1 lsem5SGdiiE0WSfbTz30V0UjwyzYZmN8nhcSqqKDIsxYhgTGokgeIIBbT78P2x1Qn8ii UUx5MbTiKrbS1ulVhfNbmPb8oPSK4hamSojuwwiHc3dmQP0QBexWtTMThhfpWws+KzLd 35ZYAwBGbvwValbrr1ov8mX70uws0lRIfmg1qlMl1KTVDgRst8qnVYUzqdKlQYltqjuh LfYCACj5vvca5/pZC3n3pOZ3VWxXTen18FZIZtgg+jf0i3gBXA/tPevZHhfYBubQ6Bcv RMDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=QUKM7wPY; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si9385664jag.106.2021.06.26.04.48.12; Sat, 26 Jun 2021 04:48:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=QUKM7wPY; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230003AbhFZLpF (ORCPT + 99 others); Sat, 26 Jun 2021 07:45:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbhFZLpB (ORCPT ); Sat, 26 Jun 2021 07:45:01 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D14EC061574; Sat, 26 Jun 2021 04:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iD6UlxSttVDb7EnnXFsDzZvUfsf4FN2OlXfYInO/xiM=; b=QUKM7wPYxpTXhF4K113BV9uKig vy/mfLFlUvvZlUZLmvM19dnH0+1gb0UW8ezI/0ce2I6sNUA5RFeYh4Usc1NEsEANS4WukSF9GIz/5 fRCDK2V4Pvya7C5EPD61oIH7snvK5BDGP9TiCXluv1LkP0RWcgV+G560x3a1SG6nhZTY=; Received: from p54ae93f7.dip0.t-ipconnect.de ([84.174.147.247] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lx6hk-0001tR-Ki; Sat, 26 Jun 2021 13:42:32 +0200 Subject: Re: [PATCH] mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal() To: Dan Carpenter Cc: Lorenzo Bianconi , Ryder Lee , Kalle Valo , Matthias Brugger , Shayne Chen , linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org, kernel-janitors@vger.kernel.org References: From: Felix Fietkau Message-ID: Date: Sat, 26 Jun 2021 13:42:31 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-06-25 16:58, Dan Carpenter wrote: > Zero out all the unused members of "req" so that we don't disclose > stack information. > > Fixes: 495184ac91bb ("mt76: mt7915: add support for applying pre-calibration data") > Signed-off-by: Dan Carpenter Acked-by: Felix Fietkau