diff options
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -305,7 +305,8 @@ int mandoc_eos(const char *p, size_t sz) { - assert(sz); + if (0 == sz) + return(0); switch (p[(int)sz - 1]) { case ('.'): |