summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2010-02-27 18:32:49 +0900
committerKaz Kylheku <kaz@kylheku.com>2010-02-27 18:32:49 +0900
commit0bad0c321d51352bfb68c3759c7fd78489e7e254 (patch)
treeb3fdd39859669e02c6a57299a2e722466a071dd7 /ChangeLog
parentf2b8e780f0e3c0634644887639f97adbf7c1c9dc (diff)
downloadtxr-0bad0c321d51352bfb68c3759c7fd78489e7e254.tar.gz
txr-0bad0c321d51352bfb68c3759c7fd78489e7e254.tar.bz2
txr-0bad0c321d51352bfb68c3759c7fd78489e7e254.zip
* lib.c (search_str): Bugfix for empty haystack case: checks for end
of string must use postincrement on the index, otherwise the access goes past the null terminator.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a1825d53..9cfcb0bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-02-27 Kaz Kylheku <kkylheku@gmail.com>
+ * lib.c (search_str): Bugfix for empty haystack case: checks for end
+ of string must use postincrement on the index, otherwise the access
+ goes past the null terminator.
+
+2010-02-27 Kaz Kylheku <kkylheku@gmail.com>
+
* match.c (match_lines): Bugfix in freeform directive.
If the virtual line is partially matched, the remainder of
the line is folded back into list form. In this case, the