Jeremy Compostella 66df100930 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>
2023-10-29 14:23:23 +00:00
..
2021-10-25 08:08:41 +00:00
2022-11-09 00:26:30 +00:00
2021-10-19 16:08:45 +00:00
2021-10-19 16:08:45 +00:00
2021-10-19 16:08:45 +00:00
2021-10-19 16:08:45 +00:00
2013-02-04 11:12:15 +01:00
2022-07-04 14:02:26 +00:00
2023-08-01 12:51:25 +00:00
2020-05-11 19:38:40 +00:00