]> git.eshelyaron.com Git - emacs.git/commit
Range-check width passed to define-fringe-bitmap
authorRobert Pluim <rpluim@gmail.com>
Wed, 26 Feb 2020 18:18:54 +0000 (19:18 +0100)
committerRobert Pluim <rpluim@gmail.com>
Wed, 26 Feb 2020 18:18:54 +0000 (19:18 +0100)
commit999d75c0c1ce3dd19dfe376c0063951f9ba45900
tree0185f276ffdca4b8d097210cb15adf83a8eae179
parent29e415d6b04775b4b731cd70f11f353c3f64053e
Range-check width passed to define-fringe-bitmap

This prevents a crash when attempting to create a zero-width bitmap.

* src/fringe.c (Fdefine_fringe_bitmap): Check value of width,
signal an error if outside documented range (Bug#39662).
src/fringe.c