slimbootloader/PayloadPkg
Maurice Ma 8a019c7758 Fix config file buffer overflow issue
Current code will try to append a NULL char at the end of the
config file buffer to ensure the string is terminated properly.
However, it did that without considering the buffer size. The
current config buffer could have been fully used and no more
space is available to append an extra NULL char. If this happens,
during the pool de-allocation, the assertion will be seen due to
buffer overflow. This patch increased the config buffer size by 1
to ensure it will have space to append string terminator.

It fixed #319.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2019-09-11 09:46:21 -07:00
..
FirmwareUpdate Resolve Klocwork issue in FWU code 2019-09-03 11:28:33 -07:00
Include/Library Add Linux Kernel Boot Support in Stage2 2019-08-09 16:48:12 -07:00
Library Resolve Klocwork issues in Payload & Platform 2019-08-29 10:39:22 -07:00
OsLoader Fix config file buffer overflow issue 2019-09-11 09:46:21 -07:00
PayloadPkg.dec Update BSD license to BSD+Patent license 2019-06-13 10:46:49 -07:00