[dpdk-dev] [PATCH 0/5] Fixes for issues highlighted by static analysis scan

Bruce Richardson bruce.richardson at intel.com
Tue Dec 16 16:03:48 CET 2014


This patch set fixes 5 issues found during a static analysis scan of the latest
DPDK code. These fixes are for possible NULL pointer references and array 
overflow/underflow.

Bruce Richardson (5):
  test: after NULL check, don't free the NULL pointer
  test: check for mbuf alloc failure
  examples: set correct limit for length of unix socket path
  examples: fix check for null before de-reference
  cfgfile: prevent error when reading an empty file

 app/test/test_kvargs.c                      | 3 ---
 app/test/test_table_acl.c                   | 5 +++++
 examples/vm_power_manager/channel_manager.c | 4 ++--
 examples/vm_power_manager/channel_manager.h | 8 +++++++-
 examples/vm_power_manager/vm_power_cli.c    | 4 ++--
 lib/librte_cfgfile/rte_cfgfile.c            | 4 +++-
 6 files changed, 19 insertions(+), 9 deletions(-)

-- 
1.9.3



More information about the dev mailing list