]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes in Fdocumentation caused by incorrect data types
authorPip Cet <pipcet@protonmail.com>
Sun, 26 Jan 2025 14:34:45 +0000 (14:34 +0000)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 Jan 2025 19:02:35 +0000 (20:02 +0100)
commita7f764cfe540493afb66d67a221f1849393e7abc
tree26021d476cc8172d088d0f0f96290a1f2a484e0f
parentc0056a9c9441b9910baeffb2be5673324c475717
Avoid crashes in Fdocumentation caused by incorrect data types

Note that this can only change things when function-documentation is
defined or overloaded incorrectly.

* src/doc.c (Fdocumentation): Check that the cdr of a docstring cons
is a fixnum.

(cherry picked from commit b07c12ce59c96db753a1f8f3a829f9ab5514e35f)
src/doc.c