aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fc47fbc8978..24b8e711420 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,16 @@
12014-06-25 Dmitry Antipov <dmantipov@yandex.ru> 12014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 Consistently use validate_subarray to verify substring.
4 * fns.c (validate_substring): Not static any more. Adjust to
5 use ptrdiff_t, not EMACS_INT, becase string and vector limits
6 can't exceed ptrdiff_t even if EMACS_INT is wider.
7 * lisp.h (validate_subarray): Add prototype.
8 * coding.c (Fundecodable_char_position):
9 * composite.c (Fcomposition_get_gstring, Fcompose_string_internal):
10 Use validate_subarray. Adjust comment to mention substring.
11
122014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
13
3 Do not allow out-of-range character position in Fcompare_strings. 14 Do not allow out-of-range character position in Fcompare_strings.
4 * fns.c (validate_subarray): Add prototype. 15 * fns.c (validate_subarray): Add prototype.
5 (Fcompare_substring): Use validate_subarray to check ranges. 16 (Fcompare_substring): Use validate_subarray to check ranges.