]> git.eshelyaron.com Git - emacs.git/commit
Don't crash with invalid argument in check-coding-systems-region
authorMattias Engdegård <mattiase@acm.org>
Wed, 8 Apr 2020 15:13:39 +0000 (17:13 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 9 Apr 2020 10:06:39 +0000 (12:06 +0200)
commit786887cf439450ce7d8d6fbe624e8c434e50d469
treee097dce7c9f47bbc69dc0025076623ac4c014f14
parent402cbc5be26827244075dbe14288e7722290f83a
Don't crash with invalid argument in check-coding-systems-region

* src/coding.c (Fcheck_coding_systems_region): Don't crash if
the third arg contains something that isn't a coding system.
* test/src/coding-tests.el (coding-check-coding-systems-region):
New test.
src/coding.c
test/src/coding-tests.el