Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4095527ybi; Fri, 19 Jul 2019 14:55:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfvknO4Az4pshL51ILbHD5JxJnv6aLWdSWn2nhc6yaGiIMixAxDxVML2q/3tQ9G/HV/7Mh X-Received: by 2002:a17:90a:33c4:: with SMTP id n62mr61696702pjb.28.1563573340133; Fri, 19 Jul 2019 14:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563573340; cv=none; d=google.com; s=arc-20160816; b=Jzp/p8xJhcBSLjAUqlow4oEHz3moSen+GxcY6wuhM/Q0Ae4XBfNsqDniNG9QLbtXyA UZY3e3K2pe4lAjC/SHcl6ZHxO2DIAM2lKE2w3VZ81isCEpBMb4XEx3JZl96QSlAzrWKT ATuvqb1vkmz6KpDYsgnp5z37RPB6XldselHPMOfdb4c/xkXq637YeTfn2WbIs3sdwW8y XcVfQLeuKFW3gEMKVs69zfM77Hx+A91k/GoUPb6O3JW6l6pOd9kOoioE0q4LHSdsEkEs malfBmInd1JK2GZAK1++SCcH/oDOK+6sDqRcfi46fyWSpl2h6+TkJcMQ26dJY4oSJ6gX j0ng== 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=+Y8hawQEZ20ECpZLzZ0XIrDGDruSCWOUemMRK7fjl0g=; b=PSVBT1Liw8pBmpSJ0do4nyBIRlypZ9iCvZK1okaB1JEo7MgHxpgKGia8tZGPCgx3J8 7QxW1OleaTnfsQnGNJXzab6uP7m4YOkRPyvEIfhAjiuQolzif+CVKp25sO0+Oh2jkC8/ 1Dpz05ajNHjlMmYbXvzhstuHUTChdHibIjAIGeDVStSacuA0q7ZlYNBzvGS1JC3T70wz 0U6uXwndoyTVSF7eAGxs0mkPpyX8ZWtoIRcnUzPZh8cZxbLkofD/EPR00vf+XfjMVB+t uinELOmRB06m6DEPjyBVYvO1CwpOFMYYbSWeUPv1r7PBxge4qBZa5B6kRSCGcd0lp25Z bLQg== 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 s37si2026039pjb.16.2019.07.19.14.55.08; Fri, 19 Jul 2019 14:55:40 -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 S1728850AbfGST3C (ORCPT + 99 others); Fri, 19 Jul 2019 15:29:02 -0400 Received: from mga17.intel.com ([192.55.52.151]:17751 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728092AbfGST3C (ORCPT ); Fri, 19 Jul 2019 15:29:02 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jul 2019 12:29:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,283,1559545200"; d="scan'208";a="179714743" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga002.jf.intel.com with ESMTP; 19 Jul 2019 12:29:00 -0700 Received: from orsmsx125.amr.corp.intel.com (10.22.240.125) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 19 Jul 2019 12:29:00 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.44]) by ORSMSX125.amr.corp.intel.com ([169.254.3.92]) with mapi id 14.03.0439.000; Fri, 19 Jul 2019 12:29:00 -0700 From: "Gix, Brian" To: "michal.lowas-rzechonek@silvair.com" , "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ v3] mesh: Check address range passed to ImportRemoteNode Thread-Topic: [PATCH BlueZ v3] mesh: Check address range passed to ImportRemoteNode Thread-Index: AQHVPivGJIUc3bVdRES8tGgov0ml5qbSyW0A Date: Fri, 19 Jul 2019 19:29:00 +0000 Message-ID: <1563564538.30666.0.camel@intel.com> References: <20190719121559.26507-1-michal.lowas-rzechonek@silvair.com> In-Reply-To: <20190719121559.26507-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.252.199.197] Content-Type: text/plain; charset="utf-8" Content-ID: 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 UGF0Y2ggQXBwbGllZA0KDQpPbiBGcmksIDIwMTktMDctMTkgYXQgMTQ6MTUgKzAyMDAsIE1pY2hh xYIgTG93YXMtUnplY2hvbmVrIHdyb3RlOg0KPiArY2hhbmdlZCAibm90IGF1dGhvcml6ZWQiIGVy cm9yIHRvICJpbnZhbGlkIGFyZ3MiIHdoZW4gbWFuYWdpbmcgZGV2aWNlDQo+IGtleSBmb3IgbG9j YWwgYWRkcmVzcyByYW5nZQ0KPiANCj4gLS0tDQo+IFRoaXMgcGF0Y2ggcHJldmVudHMgdGhlIGFw cGxpY2F0b24gZnJvbSBtYW5hZ2luZyBkZXZpY2Uga2V5cyBmb3I6DQo+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