Hi,

attached patch returns if someone tries to execute in place a compressed
entry.

--
Alex

Index: lib/lar.c
===================================================================
--- lib/lar.c	(revision 486)
+++ lib/lar.c	(working copy)
@@ -251,6 +251,13 @@
 			       filename);
 			return 1;
 		}
+		if (result.compression != 0) {
+			printk(BIOS_INFO,
+			       "LAR: Run file %s failed: Compressed file"
+			       " not supported for in-place execution\n",
+			       filename);
+			return 1;
+		}
 		where = result.start;
 	}
 	printk(BIOS_SPEW, "where is %p\n", where);
-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to