8a019c7758
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> |
||
---|---|---|
.. | ||
FirmwareUpdate | ||
Include/Library | ||
Library | ||
OsLoader | ||
PayloadPkg.dec |