diff src/bytecode.c @ 36639:f4b666ca7ea3

(Fbyte_code) <Btemp_output_buffer_setup>: Check the arg is a string before extracting its data.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 07 Mar 2001 21:26:55 +0000
parents 91fee7514fc7
children d7378777b985
line wrap: on
line diff
--- a/src/bytecode.c	Wed Mar 07 19:04:54 2001 +0000
+++ b/src/bytecode.c	Wed Mar 07 21:26:55 2001 +0000
@@ -888,6 +888,7 @@
 
 	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;