Commit 0f75abdf authored by Chong Yidong's avatar Chong Yidong
Browse files

(concat): Check for string overflow (bug#1787).

parent 930600e9
......@@ -603,6 +603,8 @@ concat (nargs, args, target_type, last_special)
result_len += len;
if (result_len < 0)
error ("String overflow");
if (! some_multibyte)
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