From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4100 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:39:46 +0400 (MSK) Message-ID: References: <20131004202158.GM20515@brightrain.aerifal.cx> <20131004213212.GN20515@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 1380922802 18040 80.91.229.3 (4 Oct 2013 21:40:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2013 21:40:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4104-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 04 23:40:06 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 1VSD6R-0006GI-PM for gllmg-musl@plane.gmane.org; Fri, 04 Oct 2013 23:40:03 +0200 Original-Received: (qmail 27676 invoked by uid 550); 4 Oct 2013 21:40:03 -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 27667 invoked from network); 4 Oct 2013 21:40:03 -0000 In-Reply-To: <20131004213212.GN20515@brightrain.aerifal.cx> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) Xref: news.gmane.org gmane.linux.lib.musl.general:4100 Archived-At: On Fri, 4 Oct 2013, Rich Felker wrote: > But there's no reason to expect that it could return NULL unless this > is documented as a possibility. Does the tool you're using assume that > any function which returns a pointer might return NULL? In src/locale/langinfo.c, __nl_langinfo_l _explicitely_ returns NULL in 5 distinct locations, as of this time. Am I misunderstanding something? Alexander