Min Hu (Connor) bc4c9418ee app/bbdev: check memory allocation
Return value of a function 'rte_malloc' is dereferenced without
checking, and may result in segmentation fault.

This patch fixed it.

Fixes: 31a7853d1ed9 ("baseband/turbo_sw: support large size code block")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Nicolas Chautru <nicolas.chautru@intel.com>
2021-05-05 15:31:50 +02:00
..
2020-04-05 18:26:04 +02:00
2019-07-05 15:28:14 +02:00
2019-07-05 15:28:14 +02:00
2020-10-02 13:51:00 +02:00