summaryrefslogtreecommitdiffstats
path: root/unicode/ChangeLog
diff options
context:
space:
mode:
authorSam Varshavchik2020-11-24 19:09:34 -0500
committerSam Varshavchik2020-11-24 19:37:28 -0500
commitb89f5f8dc09431bb345308b3a0ffd5f7d22cdfb2 (patch)
treec655b4e0bf8fb76b01a117e4feac01253663753a /unicode/ChangeLog
parent1d5b075408e8829006d84ba65b922101bd304a25 (diff)
downloadcourier-libs-b89f5f8dc09431bb345308b3a0ffd5f7d22cdfb2.tar.bz2
Fix bug triggered by cone.
Parameters to memmove were reversed. len is the size of the buffer. len-pos-cnt characters were copied in error to position pos+cnt. As such this did not overflow. I.e. if len was 8 (eight chars), pos was 1 and cnt was 2, then 8-2-1=5 characters were copied to offset 3, right at the end of the buffer. This was just plain wrong.
Diffstat (limited to 'unicode/ChangeLog')
-rw-r--r--unicode/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/unicode/ChangeLog b/unicode/ChangeLog
index a9203d3..8cb0196 100644
--- a/unicode/ChangeLog
+++ b/unicode/ChangeLog
@@ -1,3 +1,11 @@
+2.1.1
+
+2020-11-24 Sam Varshavchik <mrsam@courier-mta.com>
+
+ * unicodebuf.c (unicode_buf_remove): Bug fix.
+
+2.1
+
2018-07-13 Sam Varshavchik <mrsam@courier-mta.com>
* unicode.c: Fix error and validation of valid modified-utf7