diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-07-12 15:52:38 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-07-12 16:22:28 +0200 |
commit | a78b518b6eddef545fa440822bec315b31e4e987 (patch) | |
tree | 01b45543231d0d393b28497fc19517858c65ae2b /IntelSiliconPkg/IntelSiliconPkg.dec | |
parent | e191a3114f4c8fc0a05e4dc7bb72935f18ff4de9 (diff) | |
download | edk2-platforms-a78b518b6eddef545fa440822bec315b31e4e987.tar.xz |
BaseTools/GenFds: unbreak Region.PadBuffer
In its current form, Region.PadBuffer() fills every second byte with 0x20,
the default separator string of Python's string.join():
https://docs.python.org/2/library/string.html#string.join
This corrupts some firmware because (a) 0x20 never corresponds to any
ErasePolarity, (b) the PadData produced are actually longer than Size.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Fixes: bd907fb6386560e621112beca7b7d381d0003967
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'IntelSiliconPkg/IntelSiliconPkg.dec')
0 files changed, 0 insertions, 0 deletions