From f51136ac9de1c9bb7943939f0ed66813ad90c331 Mon Sep 17 00:00:00 2001 From: uvman Date: Sat, 28 Oct 2006 23:35:56 +0000 Subject: [PATCH] Forgot to advance the dest buffer (shame on me) --- libntfs/compress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs/compress.c b/libntfs/compress.c index e960af98..779c4944 100644 --- a/libntfs/compress.c +++ b/libntfs/compress.c @@ -216,6 +216,7 @@ do_next_tag: goto return_overflow; /* memmove() is safe with overlapping blocks. */ memmove(dest, dest_back_addr, length); + dest += length; /* Advance source position and continue with the next token. */ cb += 2; }