summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorwl <wl>2010-05-09 10:58:39 +0000
committerwl <wl>2010-05-09 10:58:39 +0000
commit02ab57d02e48395e2c436ee74b0ae5ceeb2f5d19 (patch)
tree0961532c424a80295a26b200e1f5023a16ac676b /ChangeLog
parent42ce85e5585023aa40ee0aed6fcf916e9af07a0c (diff)
downloadgroff-02ab57d02e48395e2c436ee74b0ae5ceeb2f5d19.tar.gz
Handle ditroff command `Dt' without argument gracefully.
Without this patch, grotty goes into an infinite loop if it tries to process x T utf8 x res 240 24 40 x init p1 Dt * src/libs/libdriver/input.cpp (get_integer_arg): Emit a fatal error on a non-integer argument, bringing the code into line with the behaviour documented in the header comment. (get_possibly_integer_args): Terminate the loop on a non-integer argument. (next_arg_begin): Return newline or EOF after emitting the corresponding error, rather than continuing on to the next line.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d4505cce..197b6432 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2010-05-09 Colin Watson <cjwatson@debian.org>
+
+ Handle ditroff command `Dt' without argument gracefully.
+
+ Without this patch, grotty goes into an infinite loop if it tries to
+ process
+
+ x T utf8
+ x res 240 24 40
+ x init
+ p1
+ Dt
+
+ * src/libs/libdriver/input.cpp (get_integer_arg): Emit a fatal error
+ on a non-integer argument, bringing the code into line with the
+ behaviour documented in the header comment.
+ (get_possibly_integer_args): Terminate the loop on a non-integer
+ argument.
+ (next_arg_begin): Return newline or EOF after emitting the
+ corresponding error, rather than continuing on to the next line.
+
2010-05-01 Werner LEMBERG <wl@gnu.org>
* doc/groff.texinfo: Improve documentation of \R escape.