commit | 368adca2c912595e3958b95a040a793bbe61ceb8 | [log] [tgz] |
---|---|---|
author | Jeevan Shriram <jshriram@codeaurora.org> | Thu Oct 05 13:30:06 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Oct 19 14:13:38 2017 -0700 |
tree | 2afc4aba720dd44c2a2fbcc2014cedcf23474506 | |
parent | 748b0e874015bb982e500fcf074542fbcc44b74a [diff] |
QcomModulePkg: Reset the Partition name-check variable Reset the partition name check variable for every iteration to ensure that partition name is properly terminated in the META image. Change-Id: Ic55c5ef24a1e10fe472f849a4e0670b5b0bc0d3b
diff --git a/QcomModulePkg/Library/FastbootLib/FastbootCmds.c b/QcomModulePkg/Library/FastbootLib/FastbootCmds.c index bed5684..a865471 100644 --- a/QcomModulePkg/Library/FastbootLib/FastbootCmds.c +++ b/QcomModulePkg/Library/FastbootLib/FastbootCmds.c
@@ -937,6 +937,8 @@ for (i = 0; i < images; i++) { + PnameTerminated = FALSE; + if (img_header_entry[i].ptn_name == NULL || img_header_entry[i].start_offset == 0 || img_header_entry[i].size == 0) break;