[PATCH] Fix memswp, its scratch space was too small

From: Shawn Lewis <shawnlewis_at_google.com>
Date: Wed, 1 Aug 2007 17:04:16 -0700 (PDT)

diff --git a/verify.c b/verify.c
index f34609c..5bdfb76 100644
--- a/verify.c
+++ b/verify.c
@@ -83,7 +83,7 @@ static void fill_pattern(struct thread_d
 
 static void memswp(void* buf1, void* buf2, unsigned int len)
 {
- struct verify_header swap;
+ char swap[200];
 
         memcpy(&swap, buf1, len);
         memcpy(buf1, buf2, len);
Received on Thu Aug 02 2007 - 02:04:16 CEST

This archive was generated by hypermail 2.2.0 : Thu Aug 02 2007 - 02:30:01 CEST