diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2023-02-17 11:01:07 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-24 23:09:02 +0000 |
commit | c26108f60386458a98af53ae015e2f24ecffc788 (patch) | |
tree | b76e028668b71252c1c98be64ce8ef68650b873b /src/lib/memset.c | |
parent | 747fe6c17293093b8cde316140e82d447a748055 (diff) |
amdfwtool: Change the growing pointer with cautions
Changing the pointer outside the function is not allowed.
Check if it overflows everytime it changes.
TEST=Binary identical on amd/birman amd/chausie amd/majolica
amd/gardenia pcengines/apu2 amd/mandolin
Change-Id: I2c295b489d833201f1ba86a7759ea7dc0e1e672f
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73075
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/lib/memset.c')
0 files changed, 0 insertions, 0 deletions