From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DFAC3A0544; Tue, 5 Jul 2022 22:16:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B933B40223; Tue, 5 Jul 2022 22:16:56 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 068C8400D7; Tue, 5 Jul 2022 22:16:55 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A48AA3200805; Tue, 5 Jul 2022 16:16:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 05 Jul 2022 16:16:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1657052213; x= 1657138613; bh=8OAY7+XOEIpZqmw1/43Lb07psAYG0wIYciM4BquqZx4=; b=W zKaJYI08QOnruZu2Q7O895laj069WB08MioiiLA4t2JttERH2Rv4zmhmSepSi1sD eeI4HXSZdRIFE8e8QGyisTiXeJkY8VxhEOwe0mOTqgPaXXzdqp/ySgBjpiXeLPQ+ 5BakDV6UVEBHrSJDAqtWQglqNYg+QIICtyHeAeeu10eRerkNDxvoFOi+UFIDB9EI Dm5LxTZKw+t+VbvCkn9YzzC/9KrrUUmD3JQaRTZ+Sg1aOlwI1e7pCXVLCtRpMH/X hdzVHbQ97/ewgt42PQe1hlbfvRmBOi/S2MFnHBMnRWN2htgjbIGyV05jk45wdFyY wTfpyTIIMwyws6DHPSOgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1657052213; x= 1657138613; bh=8OAY7+XOEIpZqmw1/43Lb07psAYG0wIYciM4BquqZx4=; b=t hcSqiQYbwOfSzEcQyjiFshoPlJotzFWJP3EX5z/w5GJdRxDhFZf0RHLGNUSaCBce CKl/OsKiqTHP7uvyZlGetXvYdEhCL0Uw8U15llzmH0+QOy1KeVDwRasGaqmo+U+s u90RBvERaKmvrkXKe8cQD9VrWkrUFjc+CwXjXWz9pxh0aP7H6fFWUgg0lE4QnHZi PMSyJkMgJKDOP4xOIHOzbl2bZ3EnccIZFfpZGAEOrkGAZjD+LbQM21AxPkhHd2i6 nbSxicYe7uWm1GA6OH8QeUK/rh4KNf2UiI0XN2Xzvbn8kGEQheTKlEhM1FVkqYdh D1BUd5VmTpr6eG27UNhKQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 16:16:52 -0400 (EDT) From: Thomas Monjalon To: Thierry Herbelot Cc: dev@dpdk.org, stable@dpdk.org, Ori Kam Subject: Re: [dpdk-dev] [PATCH] app/regex: avoid division by zero Date: Tue, 05 Jul 2022 22:16:50 +0200 Message-ID: <4723741.hUukIMtRk4@thomas> In-Reply-To: <20210524085700.15534-1-thierry.herbelot@6wind.com> References: <20210524085700.15534-1-thierry.herbelot@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 24/05/2021 10:57, Thierry Herbelot: > Check that nb_jobs is not zero before using it for a division. > > Fixes: f5cffb7eb7fb6 ("app/regex: read data file once at startup") > Cc: stable@dpdk.org > Cc: Ori Kam > > Signed-off-by: Thierry Herbelot Missing ack, but applied after a long wait, sorry.