File ext3remapper-r129.diff of Package preload

diff -ru ext3remapper-r129.ori/e2block2file.c ext3remapper-r129/e2block2file.c
--- ext3remapper-r129.ori/e2block2file.c	2007-05-28 18:21:17.329998000 +0200
+++ ext3remapper-r129/e2block2file.c	2007-06-23 06:22:31.644743000 +0200
@@ -109,7 +109,7 @@
 		exit(1);
 	}
 	while (fscanf(block_file, "%Ld+%u", &blocknum, &len) == 2) {
-			if (extent_count > allocated) {
+			if (extent_count >= allocated) {
 				allocated += BMAP_ALLOC_ENTRIES;
 				iextents = realloc(iextents,
 					sizeof(struct input_extent_map)*allocated);
openSUSE Build Service is sponsored by