ox-html: Fix stack overflow in regexp matching
commit36f5aa316fd008d869d555fb137048319de4cc8f
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 25 Feb 2013 23:29:04 +0000 (26 00:29 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 25 Feb 2013 23:29:04 +0000 (26 00:29 +0100)
tree8909eb5b1cc6ecf26a3ca980b12697ece2be3114
parentef6c1498b4ee9d3a2cd8badc782d97c172edd8d9
ox-html: Fix stack overflow in regexp matching

* lisp/ox-html.el (org-html-fontify-code): Do not use [^\000] in
  regexps that may match large strings.

Thanks to Kyle Machulis for reporting it.
lisp/ox-html.el