Fix bug #17881 with infloop in decoding emacs-mule encoded text.
src/coding.c (MIN_CHARBUF_SIZE): Enlarge to 32.
This commit is contained in:
parent
9c660a187c
commit
c6ecf7f23d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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 { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue