Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 36638:f5db94398882 | 36639:f4b666ca7ea3 |
|---|---|
| 886 break; | 886 break; |
| 887 } | 887 } |
| 888 | 888 |
| 889 case Btemp_output_buffer_setup: | 889 case Btemp_output_buffer_setup: |
| 890 BEFORE_POTENTIAL_GC (); | 890 BEFORE_POTENTIAL_GC (); |
| 891 CHECK_STRING (TOP, 0); | |
| 891 temp_output_buffer_setup (XSTRING (TOP)->data); | 892 temp_output_buffer_setup (XSTRING (TOP)->data); |
| 892 AFTER_POTENTIAL_GC (); | 893 AFTER_POTENTIAL_GC (); |
| 893 TOP = Vstandard_output; | 894 TOP = Vstandard_output; |
| 894 break; | 895 break; |
| 895 | 896 |
