]> git.eshelyaron.com Git - emacs.git/commit
Avoid segfaults in lookup_image when faces were freed
authorEli Zaretskii <eliz@gnu.org>
Sat, 3 Oct 2020 17:49:18 +0000 (20:49 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 3 Oct 2020 17:49:18 +0000 (20:49 +0300)
commit0fe8ab79e7a2306b84e209cc4e90da1996da1cad
tree1464d684c4d585e8cc465ffd61c68c5ccb8cf005
parentf4305f3b53152126cce466b19f79d3348a5b2f2c
Avoid segfaults in lookup_image when faces were freed

* src/image.c (lookup_image): Make sure the frame's face cache
exists and has at least the basic faces.  If FACE_ID is not a
basic face, and is no longer cached, fall back on the 'default'
face.  (Bug#43700)
src/image.c