Commit c6ecf7f2 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #17881 with infloop in decoding emacs-mule encoded text.

 src/coding.c (MIN_CHARBUF_SIZE): Enlarge to 32.
parent 9c660a18
2014-06-30 Eli Zaretskii <eliz@gnu.org>
* coding.c (MIN_CHARBUF_SIZE): Enlarge to 32. (Bug#17881)
2014-06-30 Jan Djärv <jan.h.d@swipnet.se>
* nsmenu.m (update_frame_tool_bar): Set wait_for_tool_bar to NO
......
......@@ -7266,7 +7266,8 @@ produce_charset (struct coding_system *coding, int *charbuf, ptrdiff_t pos)
}
#define MAX_CHARBUF_SIZE 0x4000
#define MIN_CHARBUF_SIZE 0x10
/* emacs-mule decoding requires more than 16 bytes. */
#define MIN_CHARBUF_SIZE 0x20
#define ALLOC_CONVERSION_WORK_AREA(coding, size) \
do { \
......
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