diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-11-08 09:35:31 +1100 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-11-08 07:09:34 +0100 |
commit | 31cef1f46e5caa63794709c381a68ac1a9394bbb (patch) | |
tree | 0dea86d18915c22ea93e8d58d3d4e699c6ffc82a /src/cpu/via | |
parent | cfa06c746023fbb79169260012539253811525aa (diff) |
device/dram/ddr3.c: Fix sizeof on array func param overflow
The sizeof on array function parameter will return size of 'u8 *'
instead of 'spd_raw_data' (aka 'u8 [256]' leading to an overflow.
Found-by: Clang
Change-Id: I78e113a640b2953c853eb43bd6874e4694260b1f
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7353
Tested-by: build bot (Jenkins)
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'src/cpu/via')
0 files changed, 0 insertions, 0 deletions