diff options
| author | Andreas Schwab | 2010-06-26 20:47:35 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2010-06-26 20:47:35 +0200 |
| commit | b1feb9b4ec2622788f3a68d041fb2a086e452f1a (patch) | |
| tree | 1bfdc812fc7a5fea9a970515d74342aefd091873 /src/alloc.c | |
| parent | aca54191748018f741c8fdd274df142f20a8d2a0 (diff) | |
| download | emacs-b1feb9b4ec2622788f3a68d041fb2a086e452f1a.tar.gz emacs-b1feb9b4ec2622788f3a68d041fb2a086e452f1a.zip | |
* alloc.c (Fmake_byte_code): Don't access undefined argument (Bug#6517).
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 9a935cc8952..da63fe0f82b 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -3094,7 +3094,7 @@ usage: (make-byte-code ARGLIST BYTE-CODE CONSTANTS DEPTH &optional DOCSTRING INT | |||
| 3094 | else | 3094 | else |
| 3095 | val = Fmake_vector (len, Qnil); | 3095 | val = Fmake_vector (len, Qnil); |
| 3096 | 3096 | ||
| 3097 | if (STRINGP (args[1]) && STRING_MULTIBYTE (args[1])) | 3097 | if (nargs > 1 && STRINGP (args[1]) && STRING_MULTIBYTE (args[1])) |
| 3098 | /* BYTECODE-STRING must have been produced by Emacs 20.2 or the | 3098 | /* BYTECODE-STRING must have been produced by Emacs 20.2 or the |
| 3099 | earlier because they produced a raw 8-bit string for byte-code | 3099 | earlier because they produced a raw 8-bit string for byte-code |
| 3100 | and now such a byte-code string is loaded as multibyte while | 3100 | and now such a byte-code string is loaded as multibyte while |