]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/shr.el (shr-insert): Protect against infloops in degenerate tables.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 20 Dec 2013 04:29:08 +0000 (05:29 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 20 Dec 2013 04:29:08 +0000 (05:29 +0100)
lisp/ChangeLog
lisp/net/shr.el

index c3a0c2936db435b9df95e38e91ec524b2a2764c9..464a3b11ce8f3ec57ba78ddb85cf9e47a54ca8df 100644 (file)
@@ -1,3 +1,8 @@
+2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-insert): Protect against infloops in degenerate
+       tables.
+
 2013-12-20  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
 
        * progmodes/octave.el (octave): Add link to manual and octave
index 81a597c270360330964d071a3a3715a301cd2eaf..4b67bafc5cddf608b2bfe032289d7fabac8bf603 100644 (file)
@@ -461,6 +461,7 @@ size, and full-buffer size."
       (setq shr-state nil)
       (let (found)
        (while (and (> (current-column) shr-width)
+                   (> shr-width 0)
                    (progn
                      (setq found (shr-find-fill-point))
                      (not (eolp))))