svn commit: trunk/busybox/archival

vda at busybox.net vda at busybox.net
Fri Oct 19 14:03:10 PDT 2007


Author: vda
Date: 2007-10-19 14:03:09 -0700 (Fri, 19 Oct 2007)
New Revision: 20299

Log:
unzip: add a comment explaining why we don't die



Modified:
   trunk/busybox/archival/unzip.c


Changeset:
Modified: trunk/busybox/archival/unzip.c
===================================================================
--- trunk/busybox/archival/unzip.c	2007-10-19 17:51:00 UTC (rev 20298)
+++ trunk/busybox/archival/unzip.c	2007-10-19 21:03:09 UTC (rev 20299)
@@ -107,6 +107,8 @@
 		}
 		/* Validate decompression - size */
 		if (zip_header->formatted.ucmpsize != res.bytes_out) {
+			/* Don't die. Who knows, maybe len calculation
+			 * was botched somewhere. After all, crc matched! */
 			bb_error_msg("bad length");
 		}
 	}



More information about the busybox-cvs mailing list