Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0f75abdf
Commit
0f75abdf
authored
Jan 27, 2009
by
Chong Yidong
Browse files
(concat): Check for string overflow (bug#1787).
parent
930600e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/fns.c
src/fns.c
+2
-0
No files found.
src/fns.c
View file @
0f75abdf
...
...
@@ -603,6 +603,8 @@ concat (nargs, args, target_type, last_special)
}
result_len += len;
if (result_len < 0)
error ("String overflow");
}
if (! some_multibyte)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment