NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/44099: mandoc(1) eats all memory with some mdoc macros sequence



>Number:         44099
>Category:       bin
>Synopsis:       mandoc(1) eats all memory with some mdoc macros sequence
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 16 23:15:00 +0000 2010
>Originator:     Nicolas Joly
>Release:        NetBSD 5.99.39
>Organization:
Institut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 5.99.39 NetBSD 5.99.39 (LANFEUST) #12: 
Tue Nov 16 17:31:52 CET 2010 
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST
 amd64
Architecture: x86_64
Machine: amd64
>Description:
mandoc(1) will eats all memory if a document include the following sequence
`.Pp .', at least in the DESCRIPTION section. Under the same conditions,
nroff -mandoc does not show any problem.

njoly@lanfeust [~]> cat xx.1 
.Dd November 16, 2010
.Dt mdoc 7
.Os
.Sh NAME
.Nm foo
.Nd a description goes here
.Sh SYNOPSIS
.Nm foo
.Op Fl options
.Ar
.Sh DESCRIPTION
.Pp .
njoly@lanfeust [~]> mandoc ~/xx.1
[...watch process eats memory ...]

>How-To-Repeat:
Run mandoc(1) on the provided testcase.
>Fix:



Home | Main Index | Thread Index | Old Index