From 998104321ba1d57b6baf81e84f2470a26654dbc5 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Sat, 28 Dec 2002 22:28:02 +0000 Subject: [PATCH] Forgot the increment in the while loop. Thanks to Szaka for spotting this. (Logical change 1.71) --- libntfs/runlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs/runlist.c b/libntfs/runlist.c index 98012dee..b5c02faa 100644 --- a/libntfs/runlist.c +++ b/libntfs/runlist.c @@ -1348,6 +1348,7 @@ int ntfs_rl_truncate(runlist **arl, const VCN start_vcn) while (rl->length) { if (start_vcn < rl[1].vcn) break; + rl++; } if (!rl->length) { // FIXME: Weird, probably a BUG()!