Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-gen: dpdk: fix char array size in dpdk_pktio_init()
Reserve space for an extra character in mem_str[] so that sprintf() can print the null character there, even though we don't actually need it. Buffer overrun reported by GCC address sanitizer. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
- Loading branch information