From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id A7C242B8C for ; Wed, 7 Dec 2016 18:34:34 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id c184so36699488wmd.0 for ; Wed, 07 Dec 2016 09:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Sn8ynVvcVMF6ywV5lt2jSFMrtAx7G0hpmNejB1bWHn0=; b=Cxpew/Ak5yzsYOjFf1gU5XYabhlHzm9WuYBRe9aU/oEpF/IS1VnjUs6IINwe06fAwh MKei37PkAg/zxqey2wA2BpUYkG8ehiCevY3aCYjvImRlE7kjLvjDLEyezJtwmskIIlXZ lEoaX1zZEqImGqDEWJFst5DC2831PxvRRM7AZp1O7Y+5yvE3UJD3mQz4zxNz5cuMhqBO u6/tr2vJ0I3qXaO5dskbCa1AcbwIHMu/2tJDzd1nxDa8qnW8Bonyh27AO9RyUQ6BEngY RcrExnlw6VsYl1sLipPQqEM8ZrGtx6KeG4XHHWmWJcupA8xmxeMCazK7+Iscd4Cdx830 97/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Sn8ynVvcVMF6ywV5lt2jSFMrtAx7G0hpmNejB1bWHn0=; b=dgpeXCoX39NhAODrY9NlKSsL9MsTYliJSC0ZxkIOwJ+izVZenllMwfTQKlYiwgkjpX uz4KlHlbaXZ3x7Qq6WN22tK1f3N3DQJsSZYgEWFWwZD7uf5c0GQ3ivHLNqk6F8fFspru ohsjtnDKodHuxDzRFAhDL74tgyvGxm4Kr6MfqG3bjzfPnFa+4IfwNv04mN2qKnQLLFnX Z41k1DIoncJQu5H22B1yWXAWT3+k37JARCtg45KPm7aWsw+3/MOFDD9HkvJbSnLTh13x pt3sI6VFIXk5rKC7U5XT2Qd+JYLCq2pV0BKVMID14rq9leUiv261rIHqvSEMMFJrT1Ql a8Ow== X-Gm-Message-State: AKaTC00ZjMZpxsS8A4INccg7Gugf1phiHde2uwzpKGC5plMgxJNI/b2WgAtdwh32l1no/ndM X-Received: by 10.28.49.3 with SMTP id x3mr3755062wmx.121.1481132074366; Wed, 07 Dec 2016 09:34:34 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id w197sm10737843wmd.11.2016.12.07.09.34.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Dec 2016 09:34:33 -0800 (PST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Wed, 07 Dec 2016 18:34:32 +0100 Message-ID: <1574744.FBTplaOq2Y@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20161205102745.GB329904@bricha3-MOBL3.ger.corp.intel.com> References: <1480889826-3891-1-git-send-email-thomas.monjalon@6wind.com> <20161205102745.GB329904@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] config: remove insecure warnings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 17:34:34 -0000 2016-12-05 10:27, Bruce Richardson: > On Sun, Dec 04, 2016 at 11:17:06PM +0100, Thomas Monjalon wrote: > > There was an option CONFIG_RTE_INSECURE_FUNCTION_WARNING (disabled by > > default), which prevents from using some libc functions: > > sprintf, snprintf, vsnprintf, strcpy, strncpy, strcat, strncat, sscanf, > > strtok, strsep and strlen. > > > > It's all about using them at the right place with the right precautions. > > However, it is neither really possible nor a good advice to disable them. > > > > Signed-off-by: Thomas Monjalon > > Agreed. That option has been in DPDK a long time and I suspect is never > used. > > Acked-by: Bruce Richardson Applied