From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4098 Path: news.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: Static analyzers results on musl Date: Sat, 5 Oct 2013 01:10:24 +0400 (MSK) Message-ID: References: <20131004202158.GM20515@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: ger.gmane.org 1380921038 31764 80.91.229.3 (4 Oct 2013 21:10:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2013 21:10:38 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4102-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 04 23:10:42 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VSCe2-0000NZ-3U for gllmg-musl@plane.gmane.org; Fri, 04 Oct 2013 23:10:42 +0200 Original-Received: (qmail 11335 invoked by uid 550); 4 Oct 2013 21:10:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 11327 invoked from network); 4 Oct 2013 21:10:41 -0000 In-Reply-To: <20131004202158.GM20515@brightrain.aerifal.cx> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) Xref: news.gmane.org gmane.linux.lib.musl.general:4098 Archived-At: [apologies if you receive this email twice] On Fri, 4 Oct 2013, Rich Felker wrote: > > There are a few warnings that return value of .*nl_langinfo.* is not checked > > for NULL before use; presumably that is by design. > > nl_langinfo is not permitted to return NULL, so this warning makes no > sense. I meant when internal functions like __nl_langinfo_l are called -- this one can return NULL. Sorry for causing confusion with ".*". Alexander