Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1477762ybp; Wed, 9 Oct 2019 14:58:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxh3NWVtDGpNkpbfc5OAC3ishcNTJJN4QniTkEZQiZXywO4c6gove2BeCaE/QCBKqX4H2jG X-Received: by 2002:a17:906:16d2:: with SMTP id t18mr4873554ejd.28.1570658329420; Wed, 09 Oct 2019 14:58:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570658329; cv=pass; d=google.com; s=arc-20160816; b=1Je7X6MMw7zjzFJBNVKn//nVoei0tgxpgCu/cp86OJpdu4Vc1aHgAAoP/9DG4J6eW2 TI3YYdlWUS+OKjWZgHl+SFeLFmanHxHB1ihS/1Z4IuwRBLrmQFri7RePQai/qRLjRZiA hUl08aPuHsqzUMUmzIhivYSf4jXJw71BhFyeMv9SEp8MLyGyPzPuDDISz10DfaG/S+eJ 7Upaa/Zv/l+ZXj0wbrCDdwvux3X0yuhXCE+/jFdpbtTwLsZs7RcieetkVWrbm+rfdF+F rFhOdifX4gkIv4TthPmq4qQYjPYZZJylagN2QOFpC7WfKsdbkb14rVw9QRHaTYuWn+r6 tgQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=JoSgWB8Ped6Hks8GPsUpLdGBW8s2unQF7+kBGNSpwo8=; b=xHlwKUz+eYpZje6Zyir0CW4s25G8QTNs1enVUsJCSvGsVntpkK/2WxVMFFn5e19kHt TGj3wD19TXoMVBPZlEDXLDkal9DG+tSNfadO+GhfghUGxwirujrx91cVfxY5LnstQ24O i/2LOwm24INV/QY+gYZZwW9zYA9+3z5ENBtvLGleElYsR7l7dOMalANdkhOyPGGL4bty w1Q1dKXiGzDF0UfCYqPykiAL1yicQZTswgabqwe4giWKO6lmaloKP0hJ7O274XIzLm/2 Zq1cguJAulWf9hGhA+Pt0RKMLVXf0NgGhj1z4WxNZFybe4+QbDdSV3v2f3W4vcHq+dUj KwcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wavecomp.com header.s=selector2 header.b=EuHEh91v; arc=pass (i=1 spf=pass spfdomain=wavecomp.com dkim=pass dkdomain=mips.com dmarc=pass fromdomain=mips.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i23si1976280edr.191.2019.10.09.14.58.26; Wed, 09 Oct 2019 14:58:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@wavecomp.com header.s=selector2 header.b=EuHEh91v; arc=pass (i=1 spf=pass spfdomain=wavecomp.com dkim=pass dkdomain=mips.com dmarc=pass fromdomain=mips.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732038AbfJIV6U (ORCPT + 99 others); Wed, 9 Oct 2019 17:58:20 -0400 Received: from mail-eopbgr800122.outbound.protection.outlook.com ([40.107.80.122]:38528 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729161AbfJIV6T (ORCPT ); Wed, 9 Oct 2019 17:58:19 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YUutRbFibUNzfOqO2S4u7nML4Hk4DgD2hrfgsoB/v3ECO+5+EfTvD/K2GwXhlV096SDpu4NGbNfWc+oqd2vjfN1ZFe/cmv9CwnMajkIw0CZ7aicIPT8CMkzYnjIWq6I+M1VuMG3GAoLGoY0SlTISEuK806h6SFYHf6jFg8xVRHQKDqgRL8i9fYIjDPqF+L1vnkHxorpZ0FMS+UbTcclFJKb3VRdi4fxuTP1JX1n5YzsoTtUxUsYBu/kPjn8E9nkdetvRYBvVRHZf31tUUumkqnwfqGgpu4uesd0OKAHBqXJ9reqZBJHPDueQ2BGSnpfy8xPugVq0r++8mcK+jL4TaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JoSgWB8Ped6Hks8GPsUpLdGBW8s2unQF7+kBGNSpwo8=; b=AujpRjTSLLSImhOWVY4z6tf+RmtMYvEi+v2+i64u0anDRlu660JxQ+0ZNeWehvegdZwLldDUFN3BfZAlnKjt+GMrRqXEKJcFaD8LFZK7vkBUA7rL+fpz3yyMEtsUqDKUPNxLn/Ixu638F5kAzlF8HrSAVzZcc/Hv0hD+r3rOdA98UX1h5Eq6h8ns8gz1dKGM4Kyz4twZm9LIIisOycnO0vhAQwcucuhz57Rxvz5YHyGp1xJoI1FkIeDpYpH1rFXNC/O7+ndZ34VR5OwCpxSXYA1uaHsr7rgHpNDWUywA9HJ2YopNa5aPEpxXRy6l2zQt8mVHpTz+8HWjEeHskytwUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wavecomp.com; dmarc=pass action=none header.from=mips.com; dkim=pass header.d=mips.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavecomp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JoSgWB8Ped6Hks8GPsUpLdGBW8s2unQF7+kBGNSpwo8=; b=EuHEh91vkadpAAr4nd/BbhOf2CUSJaT18m5zGl8i7f9Lwx+CBJkI0X3GZ/5jiyVKv2w7wx76SbiEszcvwQ/mipOn18/B9zzJow+iqi2GpPh7OCJWw7TyGGuyYtL/yboM5a6MH7OiwZl34yapUstp9DiUHLX2huqSUnLzClX/YpM= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.172.60.12) by MWHPR2201MB1248.namprd22.prod.outlook.com (10.172.60.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 21:58:17 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::c1dc:dba3:230c:e7f0]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::c1dc:dba3:230c:e7f0%8]) with mapi id 15.20.2347.016; Wed, 9 Oct 2019 21:58:17 +0000 From: Paul Burton To: Thomas Bogendoerfer CC: Ralf Baechle , Paul Burton , James Hogan , "linux-mips@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mips@vger.kernel.org" Subject: Re: [PATCH] MIPS: fw: sni: Fix out of bounds init of o32 stack Thread-Topic: [PATCH] MIPS: fw: sni: Fix out of bounds init of o32 stack Thread-Index: AQHVfuyoxqvUaAvqVkGOeAt9NBXiLA== Date: Wed, 9 Oct 2019 21:58:17 +0000 Message-ID: References: <20191009151056.32289-1-tbogendoerfer@suse.de> In-Reply-To: <20191009151056.32289-1-tbogendoerfer@suse.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR05CA0011.namprd05.prod.outlook.com (2603:10b6:a03:c0::24) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:18::12) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [12.94.197.246] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b06dd60a-87ef-449e-b1fd-08d74d03ca8c x-ms-traffictypediagnostic: MWHPR2201MB1248: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39850400004)(346002)(396003)(366004)(136003)(376002)(199004)(189003)(102836004)(33656002)(11346002)(386003)(2906002)(26005)(6506007)(446003)(99286004)(71200400001)(966005)(42882007)(186003)(71190400001)(478600001)(5660300002)(44832011)(54906003)(316002)(476003)(486006)(9686003)(6306002)(305945005)(52536014)(7736002)(66066001)(6436002)(4744005)(74316002)(8936002)(55016002)(81166006)(64756008)(81156014)(25786009)(6246003)(76176011)(7696005)(52116002)(256004)(6116002)(8676002)(66946007)(66556008)(229853002)(66476007)(6916009)(14454004)(66446008)(3846002)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1248;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nETWHvR+q8gKCIo4XWUPDwxornqb6kC+CcTIxJnXLEMIWdxVJIFdQrC+Rap7QEPox6DzKCWlS0R+zlvAQDSD6qQtdW1B6et0DxaZEkiQRkjlAfb3w5GONsx8Y/u1QRVtNVVjLHNadwlTnLpQz+y3dbegoIypT708zedfeGljkyWWdyK+LQkHiwaB05k7VFBzBsf2jfyjHNjHFScjuXFY+7pZu+xSGUOY3kAkX83WfTXPnoh2CJMgyZRfAa0jfCGWZpH6MlON6QEJ73vlesy+R+Dazeijbctw/84qNsnaqR5cIlINpVjePRQuc3nlM5rSHrtqA6G7hekZ8zFmnum9JFkWVBkERJHxWwqZXseEnJ3ZD219YiXMstj12LkUmT87iInC37xuxEHrBJT1yJ1k6iPwv+UhrIfMBCdiBPduZFSjR+i+eJFrXUhmTIp08L12YaUKuXEdOcwcci56H8MXWQ== Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: b06dd60a-87ef-449e-b1fd-08d74d03ca8c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 21:58:17.8191 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RLCkWworbHtj/43tuTYBYwVxibQx81PphcobhIneUnVcLTiw+DN9ETR9lBXtT1dR7+LGLlLYJbDqD6smk+FMNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1248 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Thomas Bogendoerfer wrote: > Use ARRAY_SIZE to caluculate the top of the o32 stack. Applied to mips-fixes. > commit efcb529694c3 > https://git.kernel.org/mips/c/efcb529694c3 >=20 > Signed-off-by: Thomas Bogendoerfer > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paul.burton@mips.com to report it. ]