tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: tech@mdocml.bsd.lv
Subject: Re: mdocml: Don't crash if the date can't be extracted.
Date: Sun, 20 Nov 2011 05:23:13 +0100	[thread overview]
Message-ID: <20111120042313.GC16040@britannica.bec.de> (raw)
In-Reply-To: <20111119143100.GD28954@iris.usta.de>

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

      reply	other threads:[~2011-11-20  4:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201111181704.pAIH46us008066@krisdoz.my.domain>
2011-11-19 14:31 ` Ingo Schwarze
2011-11-20  4:23   ` Joerg Sonnenberger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111120042313.GC16040@britannica.bec.de \
    --to=joerg@britannica.bec.de \
    --cc=tech@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).