Re: [PATCH v3 1/1] pcapng: fix null dereference in rte_pcapng_close

2025-06-11 Thread Thomas Monjalon
24/02/2025 17:40, Ariel Otilibili: > rte_pcapng_close() might dereference a null pointer; as example, > PVS-Studio gives its usage in test_pcapng.c: indeed, that call to > rte_pcapng_close() might receive a null pointer. > > Link: https://pvs-studio.com/en/docs/warnings/v522/ > Link: > https://gi

[PATCH v3 1/1] pcapng: fix null dereference in rte_pcapng_close

2025-02-24 Thread Ariel Otilibili
rte_pcapng_close() might dereference a null pointer; as example, PVS-Studio gives its usage in test_pcapng.c: indeed, that call to rte_pcapng_close() might receive a null pointer. Link: https://pvs-studio.com/en/docs/warnings/v522/ Link: https://github.com/DPDK/dpdk/blob/e5176f23ae8b31437c3e5eb87