mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			309 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			309 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/libbb/dump.c
 | 
						|
+++ b/libbb/dump.c
 | 
						|
@@ -301,7 +301,7 @@ static NOINLINE void rewrite(priv_dumper
 | 
						|
 		) {
 | 
						|
 			fu->reps += (dumper->blocksize - fs->bcnt) / fu->bcnt;
 | 
						|
 		}
 | 
						|
-		if (fu->reps > 1) {
 | 
						|
+		if (fu->reps > 1 && fu->nextpr) {
 | 
						|
 			for (pr = fu->nextpr;; pr = pr->nextpr)
 | 
						|
 				if (!pr->nextpr)
 | 
						|
 					break;
 |