* don't use memcpy on overlapping operations
authorWilfried Göesgens <willi@citadel.org>
Fri, 22 May 2009 09:49:27 +0000 (09:49 +0000)
committerWilfried Göesgens <willi@citadel.org>
Fri, 22 May 2009 09:49:27 +0000 (09:49 +0000)
libcitadel/debian/changelog
libcitadel/lib/tools.c

index f2ba88a43a55bf90fb02d12d1277622da6d295bf..46e9605d2897130f3af138bbaa949eaf4d317d10 100644 (file)
@@ -1,3 +1,9 @@
+libcitadel (7.60-73) unstable; urgency=low
+
+  * soon to come release
+
+ -- Wilfried Goesgens <w.goesgens@outgesourced.org>  Tue, 17 Mar 2009 00:00:00 +0002
+
 libcitadel (7.50-73) unstable; urgency=low
 
   * release
index 14cf43ec969c8ec8aa16210cea2e0c5253150fae..7d933de1195b9e2d308a40f3e3304ed1ce2f972e 100644 (file)
@@ -485,7 +485,7 @@ size_t striplt(char *buf) {
        }
 
        new_len = last_nonspace - first_nonspace + 1;
-       memcpy(buf, first_nonspace, new_len);
+       memmove(buf, first_nonspace, new_len);
        buf[new_len] = 0;
        return new_len;
 }