Author: stepan Date: 2007-09-05 04:05:55 +0200 (Wed, 05 Sep 2007) New Revision: 492
Modified: LinuxBIOSv3/lib/lar.c Log: this patch returns if someone tries to execute in place a compressed entry.
Signed-off-by: Alex Beregszaszi alex@rtfs.hu Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: LinuxBIOSv3/lib/lar.c =================================================================== --- LinuxBIOSv3/lib/lar.c 2007-09-05 01:59:27 UTC (rev 491) +++ LinuxBIOSv3/lib/lar.c 2007-09-05 02:05:55 UTC (rev 492) @@ -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);