Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp234690pxb; Wed, 25 Aug 2021 01:50:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXxS59UGDmGtce8b9Txkc98hqxHUx/zmkr2yPM+P3LIs/fp0uYh+B9dh5ry/ge+0NIPoYu X-Received: by 2002:a17:906:f743:: with SMTP id jp3mr106823ejb.120.1629881432399; Wed, 25 Aug 2021 01:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629881432; cv=none; d=google.com; s=arc-20160816; b=TFUzyhrQme008eB5DF+dXWNZ+VCHGefrm/lmmcwvYSsxBZbwOKj7FMtMl91tQ3xqb4 YEhknSmTTI8nvW4CMi1EHDe5ftX0jeDqDiUi9SpBmXYz5b70qT1IskdCt9EY5L3Fc9zb m+PcmFflCe8EyxZ7OgkaV8L7Wh1IPPbkfjgckbG+v28ItEYSotyi58GxECE3I5A76+ts q1o5X+24YKxd/0aZ98TyZO2nPCBVZCLJ1yphPE82aY+128PgpiWbZN6zthiE6Y3jV8P7 kZ9WARyEZ9mM59PaE9vssjVk3+FP1xzegd1njfftO5trAuWHS4+j7MzlEqm2U495ymbL h/2w== 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 :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=kM85d0HVlLztk24Ri0cJJ+k3fGPwU/wyq+vtcNl/cQU=; b=Etq2Rh4QhqMaY3ydL32nzlzlp1eX5VybdhJrhWd6LWt1qeuzb5miJ2+NyCKlzGSrTJ uquiBzlEXN3k0bv/woox9+1s6LcQ29U91ViXCybtLm8G7RQLF9B086MD2jRYzvQn6YRH ojwN+IAKCSKfF8EzOiP4QessgMMlQHQJpcP0NketwSFyel5W4CYef5MprD2ePFTzgD06 bkvIN4ncNaLghb06y2xdM7kUNEbJkueIU68WDpMGmeWmqRtB2e4WIhQtLqfLTppaoIZM Px6cHdQ7+OB+CNrNvcfrLpNZQacTpH4EOPpmr4B6zoB5hQcG7EyNV5DGXPa0EnFfxGAo wODw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl18si21187939ejc.160.2021.08.25.01.50.08; Wed, 25 Aug 2021 01:50:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239415AbhHYItP (ORCPT + 99 others); Wed, 25 Aug 2021 04:49:15 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:31905 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237110AbhHYIsx (ORCPT ); Wed, 25 Aug 2021 04:48:53 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mtapsc-7-cZxJurhOOG-McPtL_PvPpQ-1; Wed, 25 Aug 2021 09:48:05 +0100 X-MC-Unique: cZxJurhOOG-McPtL_PvPpQ-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Wed, 25 Aug 2021 09:48:03 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.023; Wed, 25 Aug 2021 09:48:03 +0100 From: David Laight To: 'Borislav Petkov' , Len Baker CC: Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , Joe Perches , Kees Cook , "linux-hardening@vger.kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v4] EDAC/mc: Prefer strscpy over strcpy Thread-Topic: [PATCH v4] EDAC/mc: Prefer strscpy over strcpy Thread-Index: AQHXmRVyn+L+Io0D10+HJaTYjDNR26uD6Jzg Date: Wed, 25 Aug 2021 08:48:03 +0000 Message-ID: References: <20210814075527.5999-1-len.baker@gmx.com> <20210824090338.GB7999@titan> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQm9yaXNsYXYgUGV0a292DQo+IFNlbnQ6IDI0IEF1Z3VzdCAyMDIxIDE5OjI2DQouLg0K PiBzbyBsb29raW5nIGF0IHRoZSBjb2RlLCB3ZSdyZSBtZXJyaWx5IGRlY3JlbWVudGluZyBsZW4g YnV0IG5vdGhpbmcncw0KPiBjaGVja2luZyB3aGV0aGVyIGxlbiBjYW4gYmVjb21lIDAuIEJlY2F1 c2UgaWYgaXQgZG9lcywgc3Ryc2NweSgpIHdpbGwNCj4gZG86DQo+IA0KPiAJaWYgKGNvdW50ID09 IDAgfHwgV0FSTl9PTl9PTkNFKGNvdW50ID4gSU5UX01BWCkpDQo+IAkJcmV0dXJuIC1FMkJJRzsN Cg0KVGhhdCAtRTJCSUcgaXMgZ29pbmcgdG8gYnJlYWsgc29tZXRoaW5nLg0KSXQgbWVhbnMgdGhh dCB5b3UgYWx3YXlzIGhhdmUgdG8gZG8gYW4gZXJyb3IgY2hlY2sgd2hlbmV2ZXINCnlvdSB1c2Ug dGhlIHJldHVybiB2YWx1ZSBvZiBzdHJzY3B5KCkuDQoNCkFueXRoaW5nIHRoYXQgZG9lczoNCglv ZmZzZXQgKz0gc3Ryc2NweSguLi4pDQppcyBicm9rZW4uDQoNCkl0IHJlYWxseSB3YXNuJ3QgYSBn b29kIGlkZWEgZm9yIHJlcG9ydGluZyAndHJ1bmNhdGVkJy4NCg0KCURhdmlkDQoNCi0NClJlZ2lz dGVyZWQgQWRkcmVzcyBMYWtlc2lkZSwgQnJhbWxleSBSb2FkLCBNb3VudCBGYXJtLCBNaWx0b24g S2V5bmVzLCBNSzEgMVBULCBVSw0KUmVnaXN0cmF0aW9uIE5vOiAxMzk3Mzg2IChXYWxlcykNCg==