diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-07 18:01:46 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-09 13:37:23 +0000 |
commit | 61dee5c86559758c2d545d5e00de502fc97bfc42 (patch) | |
tree | ca3c15389e2a3db302e9e32f020f9bd7d331a654 /src/include/bootmode.h | |
parent | 26b49cc9a3f027ad6af56e5f6fd572805fe0f30f (diff) |
soc/intel/baytrail/pmutil.c: Do not hardcode num_bits
This can result in accesses outside array bounds. Copy what Braswell
does, which is slightly safer.
Change-Id: If3d6f4e1f8921f0be7f4e5e438b7e73c46b8ef95
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43183
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Diffstat (limited to 'src/include/bootmode.h')
0 files changed, 0 insertions, 0 deletions