[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117451: Fix bug #17881 with infloop in decoding ema
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] trunk r117451: Fix bug #17881 with infloop in decoding emacs-mule encoded text. |
Date: |
Mon, 30 Jun 2014 15:40:20 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117451
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17881
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2014-06-30 18:39:29 +0300
message:
Fix bug #17881 with infloop in decoding emacs-mule encoded text.
src/coding.c (MIN_CHARBUF_SIZE): Enlarge to 32.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/coding.c coding.c-20091113204419-o5vbwnq5f7feedwu-1077
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-06-30 12:38:09 +0000
+++ b/src/ChangeLog 2014-06-30 15:39:29 +0000
@@ -1,3 +1,7 @@
+2014-06-30 Eli Zaretskii <address@hidden>
+
+ * coding.c (MIN_CHARBUF_SIZE): Enlarge to 32. (Bug#17881)
+
2014-06-30 Jan Djärv <address@hidden>
* nsmenu.m (update_frame_tool_bar): Set wait_for_tool_bar to NO
=== modified file 'src/coding.c'
--- a/src/coding.c 2014-06-28 17:27:29 +0000
+++ b/src/coding.c 2014-06-30 15:39:29 +0000
@@ -7266,7 +7266,8 @@
}
#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 { \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117451: Fix bug #17881 with infloop in decoding emacs-mule encoded text.,
Eli Zaretskii <=