Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-dpdk.c:201:21: warning: Access to field 'dev' results in a dereference of a null pointer (loaded from field 'livedev') [core.NullDereference] 201 | ptv->livedev->dev, rte_strerror(-retval), flush_error.message); | ^~~~~~~~~~~~~~~~~ ./util-debug.h:262:74: note: expanded from macro 'SCLogError' 262 | SCLogErr(SC_LOG_ERROR, __FILE__, __FUNCTION__, __LINE__, _sc_module, __VA_ARGS__) | ^~~~~~~~~~~ source-dpdk.c:641:17: warning: Potential leak of memory pointed to by 'ptv' [unix.Malloc] 641 | SCReturnInt(TM_ECODE_FAILED); | ^~~~~~~~~~~~~~~ ./util-debug.h:275:48: note: expanded from macro 'SCReturnInt' 275 | #define SCReturnInt(x) return x | ^ source-dpdk.c:732:67: warning: Access to field 'dev' results in a dereference of a null pointer (loaded from field 'livedev') [core.NullDereference] 732 | SCLogError("%s: error (%s) when getting device info", ptv->livedev->dev, | ^~~~~~~~~~~~~~~~~ ./util-debug.h:262:74: note: expanded from macro 'SCLogError' 262 | SCLogErr(SC_LOG_ERROR, __FILE__, __FUNCTION__, __LINE__, _sc_module, __VA_ARGS__) | ^~~~~~~~~~~ 3 warnings generated.
- Loading branch information