diff options
| author | Stefan Monnier | 2001-03-07 21:26:55 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-03-07 21:26:55 +0000 |
| commit | 741baf7656eb6738d7b4160493c969fad2640e1b (patch) | |
| tree | 010c1e1e74b780765ea9c78afb06087710b5c00e /src/bytecode.c | |
| parent | eeb24429732c9781b8c8044907b3f54572b00979 (diff) | |
| download | emacs-741baf7656eb6738d7b4160493c969fad2640e1b.tar.gz emacs-741baf7656eb6738d7b4160493c969fad2640e1b.zip | |
(Fbyte_code) <Btemp_output_buffer_setup>: Check the
arg is a string before extracting its data.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 1 |
1 files changed, 1 insertions, 0 deletions
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.") | |||
| 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; |