Commit 2bccce07 authored by Paul Eggert's avatar Paul Eggert
Browse files

* alloc.c (Fmake_string): Check for out-of-range init.

parent 81eafe29
2011-06-07 Paul Eggert <>
* alloc.c (Fmake_string): Check for out-of-range init.
2011-06-07 Daniel Colascione <>
* fns.c (Fputhash): Document return value.
......@@ -2186,9 +2186,9 @@ INIT must be an integer that represents a character. */)
EMACS_INT nbytes;
CHECK_NATNUM (length);
c = XINT (init);
c = XFASTINT (init);
if (ASCII_CHAR_P (c))
nbytes = XINT (length);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment