Changes by: uvman
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357:/tmp/cvs-serv14340/libntfs
Modified Files:
compress.c
Log Message:
Forgot to advance the dest buffer (shame on me)
Index: compress.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/compress.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- compress.c 28 Oct 2006 23:15:44 -0000 1.17
+++ compress.c 28 Oct 2006 23:35:56 -0000 1.18
@@ -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;
}
|