emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/coding.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/coding.c
Date: Wed, 06 Feb 2002 13:50:34 -0500

Index: emacs/src/coding.c
diff -c emacs/src/coding.c:1.238 emacs/src/coding.c:1.239
*** emacs/src/coding.c:1.238    Fri Jan 11 16:27:54 2002
--- emacs/src/coding.c  Thu Jan 31 23:34:21 2002
***************
*** 811,816 ****
--- 811,820 ----
        return 0;
        for (ncomponent = 0; src < src_base + data_len; ncomponent++)
        {
+         /* If it is longer than this, it can't be valid.  */
+         if (ncomponent >= COMPOSITION_DATA_MAX_BUNCH_LENGTH)
+           return 0;
+ 
          if (ncomponent % 2 && with_rule)
            {
              ONE_MORE_BYTE (gref);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]