changeset 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 f5db94398882
children 3694b1898fe5
files src/bytecode.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;