diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-03-07 01:58:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-03-07 01:58:24 +0000 |
commit | f45e957372aaf906237207a4f6863b716d1f0829 (patch) | |
tree | e12814a508398a149b7a317639e03285fa5c9acb | |
parent | 860c46e76e21acef233ea6b22f4cf3f19ac662a6 (diff) | |
download | mandoc-f45e957372aaf906237207a4f6863b716d1f0829.tar.gz |
Do not leak information about the software used
into PostScript and PDF documents behind the user's back.
Joerg Sonnenberger pointed out that almost all software
creating PostScript and PDF documents does so, even on OpenBSD,
but that doesn't make the leakage much better in my book.
According to all standards i could find, this information is optional.
Issue originally reported by deraadt@; "commit!" kristaps@.
-rw-r--r-- | term_ps.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -788,7 +788,6 @@ ps_begin(struct termp *p) if (TERMTYPE_PS == p->type) { ps_printf(p, "%%!PS-Adobe-3.0\n"); - ps_printf(p, "%%%%Creator: mandoc-%s\n", VERSION); ps_printf(p, "%%%%CreationDate: %s", ctime(&t)); ps_printf(p, "%%%%DocumentData: Clean7Bit\n"); ps_printf(p, "%%%%Orientation: Portrait\n"); @@ -808,7 +807,6 @@ ps_begin(struct termp *p) ps_printf(p, "%%PDF-1.1\n"); pdf_obj(p, 1); ps_printf(p, "<<\n"); - ps_printf(p, "/Creator mandoc-%s\n", VERSION); ps_printf(p, ">>\n"); ps_printf(p, "endobj\n"); |