[dpdk-dev] eal/log: fix memory corruption

2013-05-03 Thread Thomas Monjalon
pushed Thank you all -- Thomas

[dpdk-dev] eal/log: fix memory corruption

2013-05-02 Thread Olivier Matz
From: Dongsu Han The '\0' is written outside the bounds of the log buffer, which can result in memory corruption or display issues with log messages. Use a new constant LOG_BUF_SIZE to store the effective size of the buffer in struct log_history. Signed-off-by: Dongsu Han Signed-off-by: Olivie