diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-10-20 19:04:45 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-10-20 19:04:45 +0000 |
commit | 259df7e4a5275a6b08bffc1c6fde4aed83665b36 (patch) | |
tree | 03edcffc3e56f9ac302e47b0ecfef0b85767539d /read.c | |
parent | 69db7f6eed576f26d28cd412a0c4da07cbfed362 (diff) | |
download | mandoc-259df7e4a5275a6b08bffc1c6fde4aed83665b36.tar.gz |
Protect the roff parser from dividing by zero. ok schwarze@
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -211,6 +211,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "skipping request without numeric argument", "skipping all arguments", "skipping excess arguments", + "divide by zero", "generic fatal error", |