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
999a0fe5
Commit
999a0fe5
authored
Feb 02, 2006
by
Kenichi Handa
Browse files
(decode_composition_emacs_mule): Fix handling of
incorrect format data.
parent
0ddb3356
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/coding.c
src/coding.c
+3
-1
No files found.
src/ChangeLog
View file @
999a0fe5
2006-02-02 Kenichi Handa <handa@m17n.org>
* coding.c (decode_composition_emacs_mule): Fix handling of
incorrect format data.
2006-01-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* gtkutil.c (update_frame_tool_bar): Use new tool bar functions
...
...
src/coding.c
View file @
999a0fe5
...
...
@@ -872,7 +872,7 @@ decode_composition_emacs_mule (coding, src, src_end,
component[ncomponent] = c;
}
}
else
else
if (c >= 0x80)
{
/* This may be an old Emacs 20 style format. See the comment at
the section 2 of this file. */
...
...
@@ -924,6 +924,8 @@ decode_composition_emacs_mule (coding, src, src_end,
else
return 0;
}
else
return 0;
if (buf == bufp || dst + (bufp - buf) <= (dst_bytes ? dst_end : src))
{
...
...
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