Commit 741baf76 authored by Stefan Monnier's avatar Stefan Monnier

(Fbyte_code) <Btemp_output_buffer_setup>: Check the

arg is a string before extracting its data.
parent eeb24429
......@@ -888,6 +888,7 @@ If the third argument is incorrect, Emacs may crash.")
case Btemp_output_buffer_setup:
BEFORE_POTENTIAL_GC ();
CHECK_STRING (TOP, 0);
temp_output_buffer_setup (XSTRING (TOP)->data);
AFTER_POTENTIAL_GC ();
TOP = Vstandard_output;
......
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