]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bootm.c
bootm: set max decompression size for LZO
[karo-tx-uboot.git] / common / cmd_bootm.c
index 9751edc9076121db4680fa91cc606c3ae4369804..c243a5bd78a92ec55fb7d8f2feefe51f7fc9589a 100644 (file)
@@ -453,7 +453,7 @@ static int bootm_load_os(bootm_headers_t *images, unsigned long *load_end,
 #endif /* CONFIG_LZMA */
 #ifdef CONFIG_LZO
        case IH_COMP_LZO: {
-               size_t size;
+               size_t size = unc_len;
 
                printf("   Uncompressing %s ... ", type_name);