From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] config: remove insecure warnings Date: Wed, 07 Dec 2016 18:34:32 +0100 Message-ID: <1574744.FBTplaOq2Y@xps13> References: <1480889826-3891-1-git-send-email-thomas.monjalon@6wind.com> <20161205102745.GB329904@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bruce Richardson 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) In-Reply-To: <20161205102745.GB329904@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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