From: Lars Magne Ingebrigtsen Date: Fri, 20 Dec 2013 04:29:08 +0000 (+0100) Subject: * net/shr.el (shr-insert): Protect against infloops in degenerate tables. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~314 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf91cee781fa7919d437faccf048e23d35af8ae8;p=emacs.git * net/shr.el (shr-insert): Protect against infloops in degenerate tables. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c3a0c2936db..464a3b11ce8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-12-20 Lars Magne Ingebrigtsen + + * net/shr.el (shr-insert): Protect against infloops in degenerate + tables. + 2013-12-20 Rüdiger Sonderfeld * progmodes/octave.el (octave): Add link to manual and octave diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 81a597c2703..4b67bafc5cd 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -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))))