OSSP CVS Repository

ossp - Difference in ossp-pkg/mm/mm_alloc.c versions 1.19 and 1.20
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/mm/mm_alloc.c 1.19 -> 1.20

--- mm_alloc.c   2004/09/12 18:35:01     1.19
+++ mm_alloc.c   2004/11/15 16:48:06     1.20
@@ -350,7 +350,7 @@
     }
     if ((vp = mm_malloc(mm, usize)) == NULL)
         return NULL;
-    memcpy(vp, ptr, usize);
+    memcpy(vp, ptr, mc->mc_usize);
     mm_free(mm, ptr);
     return vp;
 }

CVSTrac 2.0.1