From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C65D9FA42 for ; Mon, 5 Dec 2016 11:27:50 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 05 Dec 2016 02:27:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,747,1477983600"; d="scan'208";a="13728766" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.64]) by orsmga002.jf.intel.com with SMTP; 05 Dec 2016 02:27:46 -0800 Received: by (sSMTP sendmail emulation); Mon, 05 Dec 2016 10:27:45 +0000 Date: Mon, 5 Dec 2016 10:27:45 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org Message-ID: <20161205102745.GB329904@bricha3-MOBL3.ger.corp.intel.com> References: <1480889826-3891-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1480889826-3891-1-git-send-email-thomas.monjalon@6wind.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.7.1 (2016-10-04) 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: Mon, 05 Dec 2016 10:27:51 -0000 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