Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2703767ybi; Thu, 18 Jul 2019 12:50:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8lXVLYddSZr9Otqfj1MUG2e/q2yVCAkkTuVW8dGWZFjwS2vAKvQEKcy79XvbYT38Q14KP X-Received: by 2002:a63:d301:: with SMTP id b1mr42139351pgg.379.1563479413813; Thu, 18 Jul 2019 12:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563479413; cv=none; d=google.com; s=arc-20160816; b=kYje3GnRMmR9m9xM5m2zyDhoSjk6cl1k8DzlJcUtaOHP92DafeP63a3BXWOQXZOXjb VZyHLQ62KAXoCNFjcJwZKV1js6f0KuPUJifGoWUs4RuDl5odHHk0bd8DRdlI4FvsPe87 BK+2ec3/PLykOtXMDrsMW6B2WPtVGXc33kQJd3vATPlBws6tn6JY3OrS9Ud4pWX3sdMl 4aNfbKFSaXEqeyI5OwElBPU+TkhFD7WyuAjGTGHnAhU6spfoZZV5ukCakRdvD4jlfbfT fU2qzcydLGP5dT64VJhxnJsh6PnitzEArIphM8xK+i0pxBnf2IyazWNNYYsRZkAOYc0F PYWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from; bh=AVzx03/AP3axVbB1uk6VQ2/hMIotP+DWscOtJA4QnOA=; b=hDwkeSXMFq5xEk6tGYiDxfkSZwGF6EKpnS+w8/yQCKzto1LhQ1fHIePv7WVr7r1MZW IX5IzK0KIa7FbabhMbdhEjP+orQ9UG6MK+Gm8Yhh+073DM9F2DiQeoHV2sMn3Mn7rTpS tw2gYcF2tm1qgnvDpzur9t+vchz8u1yCpxF0RFjx1VY7LUYTyCD36tWRe03MySamZb57 v39+1bcwDsHtBtKVQKjSx9oDagxIh9l52NegZm2l0K5kntkqsnW8O2ruotrr/utVN04f CZbDajHh+hSLskXtEf9P8b/cbg5dMvOH8qoiw45yoX7Us8qoNGFgeNfb8j2vhT+pCNwg +NJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si1433349pfi.240.2019.07.18.12.49.38; Thu, 18 Jul 2019 12:50:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390915AbfGRTte (ORCPT + 99 others); Thu, 18 Jul 2019 15:49:34 -0400 Received: from mga01.intel.com ([192.55.52.88]:43005 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727687AbfGRTte (ORCPT ); Thu, 18 Jul 2019 15:49:34 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2019 12:49:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,279,1559545200"; d="scan'208";a="168365567" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga008.fm.intel.com with ESMTP; 18 Jul 2019 12:49:33 -0700 Received: from orsmsx156.amr.corp.intel.com (10.22.240.22) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jul 2019 12:49:33 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.44]) by ORSMSX156.amr.corp.intel.com ([169.254.8.199]) with mapi id 14.03.0439.000; Thu, 18 Jul 2019 12:49:33 -0700 From: "Gix, Brian" To: "michal.lowas-rzechonek@silvair.com" , "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ v2] mesh: Check address range passed to ImportRemoteNode Thread-Topic: [PATCH BlueZ v2] mesh: Check address range passed to ImportRemoteNode Thread-Index: AQHVPUZP/ksZ2wbj6ka2u2bAJxhfE6bRPp8A Date: Thu, 18 Jul 2019 19:49:32 +0000 Message-ID: <1563479370.8708.13.camel@intel.com> References: <20190718085327.9598-1-michal.lowas-rzechonek@silvair.com> In-Reply-To: <20190718085327.9598-1-michal.lowas-rzechonek@silvair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.251.137.82] Content-Type: text/plain; charset="utf-8" Content-ID: <9913AA1BD22D474B81E9B20568537E98@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgTWljaGHFgiwNCg0KT24gVGh1LCAyMDE5LTA3LTE4IGF0IDEwOjUzICswMjAwLCBNaWNoYcWC IExvd2FzLVJ6ZWNob25layB3cm90ZToNCj4gK2FkZGVkIG1hY3JvIHRvIGNoZWNrIHVuaWNhc3Qg cmFuZ2VzDQo+ICtjaGFuZ2VkIG1lc2hfbmV0X2lzX2xvY2FsX2FkZHJlc3MgdG8gYWNjZXB0IGFk ZHJlc3MgcmFuZ2VzDQo+IA0KPiAtLS0NCj4gDQo+IFRoaXMgcGF0Y2ggcHJldmVudHMgdGhlIGFw cGxpY2F0b24gZnJvbSBtYW5hZ2luZyB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