]> git.eshelyaron.com Git - emacs.git/commit
Avoid invalid regexp in wide docstring check
authorBasil L. Contovounesios <contovob@tcd.ie>
Tue, 6 Jul 2021 00:05:41 +0000 (01:05 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Tue, 6 Jul 2021 17:56:15 +0000 (18:56 +0100)
commit044742bfe8c7c22e303242c40e16fbe9e564727a
tree56abffc45e148d715d203f8eb0176ba5b5c34095
parent4db28a9dc83be033d309782e5b14c9ebc9f01f38
Avoid invalid regexp in wide docstring check

* lisp/emacs-lisp/bytecomp.el (byte-compile--wide-docstring-p):
Avoid constructing an invalid regexp during byte-compilation by
limiting the number of columns to the current RE_DUP_MAX of 65535.
This protects against pathological values of fill-column, for
example (bug#49426).
lisp/emacs-lisp/bytecomp.el