diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2023-10-23 13:00:33 -0700 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-10-29 14:23:23 +0000 |
commit | 66df100930d9259238a402db3fe368b65647a41b (patch) | |
tree | 3e54a4efce40b63361640859369fc2c5ff0e536a /src/mainboard/google/rambi/irqroute.h | |
parent | 3e57c574803deedb49b7cc330f7445c5244e097b (diff) |
cbfstool: Fix CBFS header buffer overflow
In the unlikely but possible event where the name of the CBFS file is
longer than 232 characters, `cbfs_create_file_header()' would overflow
the buffer it allocated when it copies the CBFS filename.
Change-Id: If1825b5af21f7a20ce2a7ccb2d45b195c2fb67b0
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78500
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/rambi/irqroute.h')
0 files changed, 0 insertions, 0 deletions