From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id pAK4NdiG012300 for ; Sat, 19 Nov 2011 23:23:40 -0500 (EST) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssS93lrhHFRu7Ng== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-202-195-62.web.vodafone.de [2.202.195.62]) by smtp.strato.de (fruni mo56) (RZmta 26.10 AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id 507526nAK27JWW for ; Sun, 20 Nov 2011 05:23:17 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Sun, 20 Nov 2011 05:23:13 +0100 Date: Sun, 20 Nov 2011 05:23:13 +0100 From: Joerg Sonnenberger To: tech@mdocml.bsd.lv Subject: Re: mdocml: Don't crash if the date can't be extracted. Message-ID: <20111120042313.GC16040@britannica.bec.de> Mail-Followup-To: tech@mdocml.bsd.lv References: <201111181704.pAIH46us008066@krisdoz.my.domain> <20111119143100.GD28954@iris.usta.de> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111119143100.GD28954@iris.usta.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Sat, Nov 19, 2011 at 03:31:00PM +0100, Ingo Schwarze wrote: > Hi Joerg, > > i don't understand this. > > If there is no title, check_root (in man_validate.c) provides defaults. > > If there is a title, but no date, post_TH (in man_validate.c) > sets the date to the empty string, and the same holds for the > section. > > Can you provide examples triggering these NULL pointer accesses? Not at the moment. I know I hit both the (NULL) output and the NULL pointer for date while hunting for a different bug, but I don't have the input for that around any longer. Joerg -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv