]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix a thinko/typo in i686's memmove (aka __memmove_ia32).
authorYuriy Kaminskiy <yumkam@gmail.com>
Wed, 8 Jan 2014 20:49:54 +0000 (09:49 +1300)
committerMaxim Kuvyrkov <maxim@kugelworks.com>
Wed, 8 Jan 2014 20:49:54 +0000 (09:49 +1300)
* sysdeps/i386/i686/memmove.S (memmove): Compare distance between
SRC and DEST against LEN.

ChangeLog
NEWS
sysdeps/i386/i686/memmove.S

index 1b19405fd2a2460f15755c7093c57a5836baa5e0..661f004cba431f1115d73dda8495f79bed774522 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
+           Maxim Kuvyrkov  <maxim@kugelworks.com>
+
+       [BZ #16394]
+        * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
+        SRC and DEST against LEN.
+
 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        [BZ #16414]
diff --git a/NEWS b/NEWS
index 4fe23146fc19840faa048b1df85e47f1497df222..2a936f586bc2ec2a906e35d0e3ca26670283c9b7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -24,7 +24,7 @@ Version 2.19
   16103, 16112, 16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172,
   16195, 16214, 16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316,
   16330, 16337, 16338, 16356, 16365, 16366, 16369, 16372, 16375, 16379,
-  16384, 16385, 16386, 16387, 16390, 16400, 16407, 16408, 16414.
+  16384, 16385, 16386, 16387, 16390, 16394, 16400, 16407, 16408, 16414.
 
 * Slovenian translations for glibc messages have been contributed by the
   Translation Project's Slovenian team of translators.
index d9017388f906cde8a5971096e9752713314cd958..4b8785f22cf839618c16dd7653f671dd1df20aa1 100644 (file)
@@ -58,8 +58,8 @@ ENTRY (memmove)
 
        movl    %edi, %eax
        subl    %esi, %eax
-       cmpl    %eax, %edi
-       jae     3f
+       cmpl    %eax, %ecx
+       ja      3f
 
        cld
        shrl    $1, %ecx