index
:
mandoc
VERSION.1.12
VERSION.1.13
bapt
master
origin
version.0
UNIX manpage compiler toolset
Matěj Cepl <mcepl@cepl.eu>
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
mandoc.c
2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandoc.c b/mandoc.c
index f74e32a7..3ae01d66 100644
--- a/
mandoc.c
+++ b/
mandoc.c
@@ -480,6 +480,8 @@ time2a(time_t t)
int isz;
tm = localtime(&t);
+ if (tm == NULL)
+ return(NULL);
/*
* Reserve space: