[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99898: * alloc.c (Fmake_byte_code
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99898: * alloc.c (Fmake_byte_code): Don't access undefined argument (Bug#6517). |
Date: |
Sat, 26 Jun 2010 20:47:35 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99898
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Sat 2010-06-26 20:47:35 +0200
message:
* alloc.c (Fmake_byte_code): Don't access undefined argument (Bug#6517).
modified:
src/ChangeLog
src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-06-25 00:30:55 +0000
+++ b/src/ChangeLog 2010-06-26 18:47:35 +0000
@@ -1,3 +1,8 @@
+2010-06-26 Andreas Schwab <address@hidden>
+
+ * alloc.c (Fmake_byte_code): Don't access undefined argument
+ (Bug#6517).
+
2010-06-25 Chong Yidong <address@hidden>
* xdisp.c (next_element_from_image): Ensure that after-strings are
=== modified file 'src/alloc.c'
--- a/src/alloc.c 2010-01-22 09:10:04 +0000
+++ b/src/alloc.c 2010-06-26 18:47:35 +0000
@@ -3094,7 +3094,7 @@
else
val = Fmake_vector (len, Qnil);
- if (STRINGP (args[1]) && STRING_MULTIBYTE (args[1]))
+ if (nargs > 1 && STRINGP (args[1]) && STRING_MULTIBYTE (args[1]))
/* BYTECODE-STRING must have been produced by Emacs 20.2 or the
earlier because they produced a raw 8-bit string for byte-code
and now such a byte-code string is loaded as multibyte while
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99898: * alloc.c (Fmake_byte_code): Don't access undefined argument (Bug#6517).,
Andreas Schwab <=