From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E6F1DA04DD for ; Mon, 19 Oct 2020 10:39:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7E74DBE45; Mon, 19 Oct 2020 10:39:53 +0200 (CEST) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id 08D45A8ED; Mon, 19 Oct 2020 10:39:48 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Mon, 19 Oct 2020 01:38:15 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 19 Oct 2020 08:39:43 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 19 Oct 2020 08:39:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MQwFKAWcu0TdRSnLdScLIsr6ZCc0uaRlx2DCU4PQpT1VzHTq8jAy0LzAeMNTrKQLPYubjzV6Rr776lka6q4E2pPMHztp136tosXkuA6wylwteYjQPY77CJQj+ebfw458a6aMhTQXrWbf9zK5ZTTuyU+6J3YYfVXigx70e8TecdEfkrUHtab4TifcQMwYOwBizMM/pxfA5EvHAA081UU2KpLe8oW6Udpbc1pqMhdylHUHZn6ua36fpgLwBEIhJByM1MLFmLyTXyBJtFQxUN5Wkywn+KVd84v3yMH9czh01cp2nYhj3d6ZMDEUCZWF0ouGx+RHnXbTZX/GEaCD3LGbEA== 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=OR6PiCosG0E7ltd8KElBVpzz8PVXd8iL/dpvJHJL+OE=; b=Oae0vKTrKebO+TG13uSLlNyAEre9ciPhLZptmZR6X81KN/mgyKU8CVgYpGkJ7pHNM97ImX6BeKxAMhwbDJbCII8c9aTd94jcdxrWjkrlkTn/OvET+VWrbMZKjFFNiaHKlYMu1Ts9R/P0X174Goya1/xTwRaE9pGYdNVfwoKCwVttwc5k3D1sct+E6vGbLn7mFGBw4xa6HyhnuxFkdStU6HuF7PPSu1GR/w85X3eVIqYLrlaU74KhYCZonvntVZHihE6bjPvx14M3edXM1ij2g7v84bY3U8tMFZNKpHbH3nhx1HH6xqUJl7MdatuE2XEbjCSepHkPEN7vIobQKuh2Xg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM5PR12MB1161.namprd12.prod.outlook.com (2603:10b6:3:73::16) by DM6PR12MB3083.namprd12.prod.outlook.com (2603:10b6:5:11d::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Mon, 19 Oct 2020 08:39:41 +0000 Received: from DM5PR12MB1161.namprd12.prod.outlook.com ([fe80::888c:ebfd:522e:26f1]) by DM5PR12MB1161.namprd12.prod.outlook.com ([fe80::888c:ebfd:522e:26f1%6]) with mapi id 15.20.3477.028; Mon, 19 Oct 2020 08:39:41 +0000 From: Ophir Munk To: Lukasz Wojciechowski , Ori Kam , "dev@dpdk.org" , Raslan Darawsheh CC: "stable@dpdk.org" , NBU-Contact-Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v1] app/regex: fix segfault in getopt_long call Thread-Index: AQHWpVoKR56d406dx0O3W493fJIPiKmejTuAgAAHZACAAAbrYA== Date: Mon, 19 Oct 2020 08:39:41 +0000 Message-ID: References: <20201018142147.11456-1-ophirmu@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: partner.samsung.com; dkim=none (message not signed) header.d=none;partner.samsung.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [84.229.96.120] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2176b3a3-1b63-4847-a7e5-08d8740a85c2 x-ms-traffictypediagnostic: DM6PR12MB3083: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eQqBRvxxNwhh2pSFMj72RXtp3VbXuDRlE431P922jB4/OTgV5GFF1fcApiRfrjslmNMBVQeQzzo5Lyfcy6GZtW21K0CEWpxjUvYOub5BZ/bn1+zzsd4CdLofdUPhiuo8+MlQP3qnDAvLgMuTUCpPCA8q51oIb5m1o8adkjNesifS1BxrUSaQWD71qyq+hQQWLLnDS46ZJo5/BBl9y8tBtfFJZZv6NXhgy8yA/b3YYxofn043ZzRnlNEWAVlrYNGR3v62rJlq4AL64KCPOm3s12PfjtYu8x0ftL7MWUBXmIG+dAxNlrPuC3sO4cPVtZQVWjs9NqO20qchkqbcxLS7rA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB1161.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(346002)(39860400002)(366004)(136003)(71200400001)(33656002)(55016002)(54906003)(9686003)(4326008)(86362001)(7696005)(26005)(478600001)(53546011)(6506007)(186003)(110136005)(316002)(5660300002)(76116006)(66556008)(66446008)(66476007)(64756008)(6636002)(66946007)(52536014)(83380400001)(8676002)(2906002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: JLnZqJvUhiKywzZ8V/Txlq09RwnVL588ExcVAlQYNTjtL+3Ao70RPKITXpmb5DEsysfdNT1wMFODy27JNa4rzVHqYH2gupzNoRIyGKL/52qEyaU3NDO4/7LrlTL+++ypxbKAe22cErVD/LjzYiwHwj10fkYJBxLKh5Yk+WZ3KcQ8baVTraNwABm7Pjo0NA2Xbkk0C4oxoZgLXjnRRfWbzUc8UfoiIjm4NRQcdYxhc5DuhfGTLSteK0raK3eJGjIBYW42pLsan0iGM+F7Cv4Gn+r8OV7fZl1oWy0WkarHuF+a7NIoK0/S5+SO5T31y8Qtiz50ywGn7aJf94IY3GwiHJVv1dertLX+seGcmXDboomD365BlxYXGRClRVlfk58OKaopPUbJDX2g3LqDvdp8nvwBxgMkFAryLF1ce06R0cxMHe94jMqzbV9w6tS1MNWZCN/3BVZakStHVnQqB/XDY8nLz4sSYYec+hWGoXgMJ+PuJr7/f/3Yk1FHNyVdIoCumMF+v46JYYqi2QbX4ZadbXs0Uu4q9geCNRKr41NZfMpKbxhF1OnbLLULJeRYyGJHA8ccpbyaCP1WUq3NpFLhDBlTHJGjC6B3TxtXmiirS/KFKeU+RL826iVhyo61jlPtqRjxqh0QuxjyRQRypC0fBA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1161.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2176b3a3-1b63-4847-a7e5-08d8740a85c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2020 08:39:41.3387 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xyFwjkZob1nr0MZru1rlwuA5J6xo5csvnIgX3xMt9EYelUOTgi+/J0CHb1qf6Xn7tuWifSqmSMLvX5R+B0g4Ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3083 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603096695; bh=OR6PiCosG0E7ltd8KElBVpzz8PVXd8iL/dpvJHJL+OE=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=K0lMgQvakOQUEc90JmPx8w91EIZLPE4Grgz62q5FkMYu2+8B3a+EkdlkLOzFBEn8r 729vfDYlp2ndDo7s6frkLRVCY3PvfuDAgix5woF7WIunbk+qWhFex1EANfbYFov/mz Ey8OwI10Fet62IzbK06mYKg50u/eEdj/MfMn4cjI874qa6tUPAXoIbNRejO0cpSDU5 KybDoXTZao6vuvcMimyyoRwNHvDilaDm7frdbNke4WQYcA6vf/H4UEB7LHYCbBhup3 tLpTgFbBbYExCTK2EXfO4ArVfV2d12tGyNxfdxBYRDhBq0AtHyNABlU5KpZMylGGHK 3RPwKy1lonmzQ== Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v1] app/regex: fix segfault in getopt_long call X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" QWRkaW5nIFRob21hcyBNb25qYWxvbg0KVGhvbWFzIC0gd2hlbiBtZXJnaW5nIGNhbiB5b3UgcGxl YXNlIHJlbW92ZSB0aGUgbGluZTogQ2M6IHN0YWJsZUBkcGRrLm9yZyA/DQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTHVrYXN6IFdvamNpZWNob3dza2kgPGwud29qY2ll Y2hvd0BwYXJ0bmVyLnNhbXN1bmcuY29tPg0KPiBTZW50OiBNb25kYXksIE9jdG9iZXIgMTksIDIw MjAgMTE6MTMgQU0NCj4gVG86IE9yaSBLYW0gPG9yaWthQG52aWRpYS5jb20+OyBPcGhpciBNdW5r IDxvcGhpcm11QG52aWRpYS5jb20+Ow0KPiBkZXZAZHBkay5vcmc7IFJhc2xhbiBEYXJhd3NoZWgg PHJhc2xhbmRAbnZpZGlhLmNvbT4NCj4gQ2M6IHN0YWJsZUBkcGRrLm9yZzsgIidMdWthc3ogV29q Y2llY2hvd3NraSciLA0KPiA8bC53b2pjaWVjaG93QHBhcnRuZXIuc2Ftc3VuZy5jb20+DQo+IFN1 YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2MV0gYXBwL3JlZ2V4OiBmaXggc2VnZmF1bHQg aW4gZ2V0b3B0X2xvbmcNCj4gY2FsbA0KPiANCj4gSGksDQo+IA0KPiBXIGRuaXUgMTkuMTAuMjAy MCBvwqAwOTo0NiwgT3JpIEthbSBwa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