Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1112323pxu; Fri, 16 Oct 2020 04:20:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ7cm2Yf1ZWCtufLTzeNNJEZgRqcZiSd2ggVFlQOTDUkYJ8km4S+RW9nT8wuiDKM74hvTk X-Received: by 2002:a17:906:1953:: with SMTP id b19mr3274704eje.252.1602847252513; Fri, 16 Oct 2020 04:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602847252; cv=none; d=google.com; s=arc-20160816; b=qBHCGH92KfJLcBK3VRB11/XoeEzIy4uI3EpWwFrLITf2pRzM6SdjmooL8DA4soceYs jEipHJSTAdi2OwdKDp4aD8drYVBx1v5iwIc2vs//VrLaTnne6GZiEbBbY8w7QH9dB4o7 rLEx12v473nleGQCqHYWo3hGiC4Fdpvj/S7t3DhaeevBnIDDy06Y68cHK8QqIfHiBCyP KHA+ZklpYdk5E/C8nb465yyAw+57CuCuYBPsn+jkZ+TeYFhPs/kdSW93zTEmeY8qfo7j JGeN+VquYQPmyEkQfv5Z3r+DJa2rnQJTOuRkkgt05eImZ1XTA3KBEXOSbmBzAntcxHjL YMgA== 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=wiH7SoXY6o2ccERB1rdUTfwTRRHQj3gY0fVqD74A1+0=; b=v6loZVUjl1zxZ5Feboayh7wxgcmGu+B7F43piNZ0MSYsgX6DKk1PUu42nlzsr59N+i 41zmadwv7PpD11Wbt/aQEN7DMptvyhm12UzRBjjtcSL26omfa4bp0ejWK6bBRHilXAin qXdpzpKqqJQRhX42MsEWojiDuj2HDMQ5Rlbgr1f/0rsytIlUoBnkTUQi1sJuaxD4m1ix L9WM2cy8eU1+8szyyt9BZyWhNuSlRDJtHv2JQmNY2NOwF+gtR09+c7VHUmlgYTVfm39S QzVeRiFgSkFLw7h6ZrOwe5ac+VnnukNw0jUYO/KGFAwITyjZbrlRFQapkq54lgXPZg2U 80ZA== 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 h24si1382289ejf.680.2020.10.16.04.20.30; Fri, 16 Oct 2020 04:20:52 -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 S2404509AbgJPIri (ORCPT + 99 others); Fri, 16 Oct 2020 04:47:38 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:21463 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404494AbgJPIri (ORCPT ); Fri, 16 Oct 2020 04:47:38 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-136-K_Wz6u3eNh-RXs0uWP6L0A-1; Fri, 16 Oct 2020 09:47:33 +0100 X-MC-Unique: K_Wz6u3eNh-RXs0uWP6L0A-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 16 Oct 2020 09:47:33 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Fri, 16 Oct 2020 09:47:33 +0100 From: David Laight To: "'hpa@zytor.com'" , Ian Rogers , "Thomas Gleixner" , Ingo Molnar , "Borislav Petkov" , "x86@kernel.org" , "Peter Zijlstra (Intel)" , Masami Hiramatsu , "Josh Poimboeuf" , "linux-kernel@vger.kernel.org" , Adrian Hunter , Arnaldo Carvalho de Melo CC: Numfor Mbiziwo-Tiapo Subject: RE: [PATCH v2] x86/insn, tools/x86: Fix some potential undefined behavior. Thread-Topic: [PATCH v2] x86/insn, tools/x86: Fix some potential undefined behavior. Thread-Index: AQHWozspACmNxqbsZUa1MzTBznNmCKmZ6SSw Date: Fri, 16 Oct 2020 08:47:33 +0000 Message-ID: References: <20201015161216.1563600-1-irogers@google.com> <5E711F64-A9BF-48EC-83A3-3C644D80F848@zytor.com> In-Reply-To: <5E711F64-A9BF-48EC-83A3-3C644D80F848@zytor.com> 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 RnJvbTogaHBhQHp5dG9yLmNvbQ0KPiBTZW50OiAxNSBPY3RvYmVyIDIwMjAgMjI6MzUNCj4gPkRv bid0IHBlcmZvcm0gdW5hbGlnbmVkIGxvYWRzIGluIF9fZ2V0X25leHQgYW5kIF9fcGVla19uYnl0 ZV9uZXh0IGFzDQo+ID50aGVzZSBhcmUgZm9ybXMgb2YgdW5kZWZpbmVkIGJlaGF2aW9yLg0KLi4u DQo+ID4gI2RlZmluZSBfX2dldF9uZXh0KHQsIGluc24pCVwNCj4gPi0JKHsgdCByID0gKih0Kilp bnNuLT5uZXh0X2J5dGU7IGluc24tPm5leHRfYnl0ZSArPSBzaXplb2YodCk7IHI7IH0pDQo+ID4r CSh7IHQgcjsgbWVtY3B5KCZyLCBpbnNuLT5uZXh0X2J5dGUsIHNpemVvZih0KSk7IGluc24tPm5l eHRfYnl0ZSArPSBzaXplb2YodCk7IHI7IH0pDQoNCkludGVyZXN0aW5nIG90aGVyIGlkZWEuDQpD YW4geW91IGFkZCBhbiAnYWxpZ25lZCgxKScgaW50byB0aGUgJyoodCAqKScgY2FzdD8NCkkgdGhp bmsgJyoodCBhbGlnbmVkKDEpICopJyBpcyB0aGUgcmlnaHQgY2FzdC4NCihnY2Mgc2VlbXMgdG8g YWNjZXB0IGl0IGVpdGhlciBzaXplIG9mIHRoZSB0eXBlLikNCg0KCURhdmlkDQoNCi0NClJlZ2lz dGVyZWQgQWRkcmVzcyBMYWtlc2lkZSwgQnJhbWxleSBSb2FkLCBNb3VudCBGYXJtLCBNaWx0b24g S2V5bmVzLCBNSzEgMVBULCBVSw0KUmVnaXN0cmF0aW9uIE5vOiAxMzk3Mzg2IChXYWxlcykNCg==