Commit 44a2be2d authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #16819 with dereferencing invalid face pointer.

 src/xdisp.c (init_iterator): Don't dereference a bogus face
 pointer.
parent f5bee33b
2014-02-20 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (init_iterator): Don't dereference a bogus face
pointer. (Bug#16819)
2014-02-20 Glenn Morris <rgm@gnu.org>
* data.c (Fdefalias): Doc fix.
......
......@@ -2928,7 +2928,7 @@ init_iterator (struct it *it, struct window *w,
/* If we have a boxed mode line, make the first character appear
with a left box line. */
face = FACE_FROM_ID (it->f, remapped_base_face_id);
if (face->box != FACE_NO_BOX)
if (face && face->box != FACE_NO_BOX)
it->start_of_box_run_p = true;
}
 
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment