commit | 9637b5424fffaf738c72b9b959fb2250066a59cd | [log] [tgz] |
---|---|---|
author | Lijuan Gao <lijuang@codeaurora.org> | Mon Sep 28 15:09:15 2020 +0800 |
committer | Lijuan Gao <lijuang@codeaurora.org> | Mon Sep 28 19:36:34 2020 +0800 |
tree | f68688b001ba4eae5a5a99a2c4c649d672de6215 | |
parent | b5f47dc24cba3a14a28058af7debc0a4a211c1d3 [diff] |
QcomModulePkg: Buffer overflow maybe occur when convert string from ASCII to Unicode The max size of ptn_name is 72, the max size of PartitionNameFromMeta is 36, it will cause the buffer overflow issue if the actual string size of ptn_name is lager than 36 when covent string form ASCII to Unicore. AsciiStrToUnicodeStr (img_header_entry[i].ptn_name, PartitionNameFromMeta). Change-Id: I51d94e415e1f92a65155c01b030a4332ff679947