From 741baf7656eb6738d7b4160493c969fad2640e1b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 7 Mar 2001 21:26:55 +0000 Subject: [PATCH] (Fbyte_code) : Check the arg is a string before extracting its data. --- src/bytecode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bytecode.c b/src/bytecode.c index f2394556e2b..363dcdfaa82 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -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; -- 2.39.5