PSARC 2013/394 groff version 1.22.2
17285077 groff package update to version 1.22
17464860 groffer fails finding support library
17621259 ggrn dumps core with 55 and more arguments
18122012 grolbp segfaults on free parameter
18159500 groff should not use ambiguous width character
18450560 /usr/bin/grops dumps core with invalid argument value
19766047 grog and gropdf should be moved in text/groff pacakge
20062059 groff section 4/5 man pages are incorrectly labeled and referenced internally
20062339 groff(5) has incorrect content
19873798 groff handles long .TH as overlapping in header and foot
20367208 preconv should use UCS-4[LE|BE] codeset in Solaris 11 UR
Prevent /usr/bin/grops from dumping core with given an invalid argument value
with something such as
$ /usr/bin/grops -c a
Fix has been submitted upstream:
http://savannah.gnu.org/bugs/?42190
--- groff-1.22.2/src/devices/grops/ps.cpp.orig 2014-04-24 06:01:32.421674773 -0700
+++ groff-1.22.2/src/devices/grops/ps.cpp 2014-04-24 09:27:56.445423217 -0700
@@ -1803,7 +1803,7 @@
break;
case 'c':
if (sscanf(optarg, "%d", &ncopies) != 1 || ncopies <= 0) {
- error("bad number of copies `%s'", optarg);
+ error("bad number of copies `%1'", optarg);
ncopies = 1;
}
break;