From 7ce6a7f670b83e1c51c87c0e421037c849df85c2 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 8 Apr 2020 23:10:21 +0200 Subject: Fixed another mistake when requesting the kernel from an Android BOOT image. --- plugins/bootimg/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bootimg/format.c b/plugins/bootimg/format.c index f41f98d..99b8f27 100644 --- a/plugins/bootimg/format.c +++ b/plugins/bootimg/format.c @@ -328,7 +328,7 @@ GBinContent *g_bootimg_format_get_kernel(const GBootImgFormat *format) offset = 1 * format->header.page_size; - size = format->header.ramdisk_size; + size = format->header.kernel_size; init_vmpa(&pos, offset, VMPA_NO_VIRTUAL); -- cgit v0.11.2-87-g4458