From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 0/5] Fixes for issues highlighted by static analysis scan Date: Tue, 16 Dec 2014 15:03:48 +0000 Message-ID: <1418742233-16776-1-git-send-email-bruce.richardson@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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