Searched hist:d610b00e2e111a7854530d3fea1bdd2aca41b5f2 (Results 1 – 3 of 3) sorted by relevance
/openbmc/libpldm/src/dsp/ |
H A D | bios_table.c | diff d610b00e2e111a7854530d3fea1bdd2aca41b5f2 Wed Oct 02 06:57:30 CDT 2024 Andrew Jeffery <andrew@codeconstruct.com.au> dsp: bios_table: Bounds check pldm_bios_table_append_pad_checksum()
``` ../src/dsp/bios_table.c: In function ‘checksum_append’: ../src/dsp/bios_table.c:905:9: error: use of attacker-controlled value ‘*size’ as offset without upper-bounds checking [CWE-823] [-Werror=analyzer-tainted-offset] 905 | memcpy(table_end, &checksum, sizeof(checksum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
Fixes: 9c76679224cf ("libpldm: Migrate to subproject") Change-Id: I786f628cad0b0625feda2c8f486d2fbcd603104c Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
|
/openbmc/libpldm/abi/x86_64/ |
H A D | gcc.dump | diff d610b00e2e111a7854530d3fea1bdd2aca41b5f2 Wed Oct 02 06:57:30 CDT 2024 Andrew Jeffery <andrew@codeconstruct.com.au> dsp: bios_table: Bounds check pldm_bios_table_append_pad_checksum()
``` ../src/dsp/bios_table.c: In function ‘checksum_append’: ../src/dsp/bios_table.c:905:9: error: use of attacker-controlled value ‘*size’ as offset without upper-bounds checking [CWE-823] [-Werror=analyzer-tainted-offset] 905 | memcpy(table_end, &checksum, sizeof(checksum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
Fixes: 9c76679224cf ("libpldm: Migrate to subproject") Change-Id: I786f628cad0b0625feda2c8f486d2fbcd603104c Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
|
/openbmc/libpldm/ |
H A D | CHANGELOG.md | diff d610b00e2e111a7854530d3fea1bdd2aca41b5f2 Wed Oct 02 06:57:30 CDT 2024 Andrew Jeffery <andrew@codeconstruct.com.au> dsp: bios_table: Bounds check pldm_bios_table_append_pad_checksum()
``` ../src/dsp/bios_table.c: In function ‘checksum_append’: ../src/dsp/bios_table.c:905:9: error: use of attacker-controlled value ‘*size’ as offset without upper-bounds checking [CWE-823] [-Werror=analyzer-tainted-offset] 905 | memcpy(table_end, &checksum, sizeof(checksum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
Fixes: 9c76679224cf ("libpldm: Migrate to subproject") Change-Id: I786f628cad0b0625feda2c8f486d2fbcd603104c Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
|