Merge branch 'msm-urgent' of git://codeaurora.org/quic/kernel/dwalker/linux-msm
[safe/jmp/linux-2.6] / init / initramfs.c
index 37d3859..4b9c202 100644 (file)
@@ -457,7 +457,8 @@ static char * __init unpack_to_rootfs(char *buf, unsigned len)
                                         compress_name);
                                message = msg_buf;
                        }
-               }
+               } else
+                       error("junk in compressed archive");
                if (state != Reset)
                        error("junk in compressed archive");
                this_header = saved_offset + my_inptr;