Go to file
Dmitriy Yakovlev e7ee2ca1c9 cfgfile: fix uninitialized variable on load error
Uninitialized scalar variable.
Using uninitialized value cfg->sections[curr_section]->num_entries
when calling rte_cfgfile_close.
And memory in variables cfg->sections[curr_section],
sect->entries[curr_entry] maybe not equal NULL.
We must decrement counters curr_section, curr_entry when failed to realloc.

Fixes: eaafbad419 ("cfgfile: library to interpret config files")

Signed-off-by: Dmitriy Yakovlev <bombermag@gmail.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2017-02-14 18:13:48 +01:00
app app/crypto-perf: fix null dereference 2017-02-10 16:06:04 +01:00
buildtools buildtools: allow symlinks within a source directory 2017-01-29 22:36:23 +01:00
config net/sfc: enable TSO by default 2017-01-30 22:18:26 +01:00
devtools mk: parallelize make config 2017-01-30 19:13:35 +01:00
doc doc: fix images of virtio-user tutorials 2017-02-14 15:23:18 +01:00
drivers crypto/scheduler: fix session backup 2017-02-10 16:06:04 +01:00
examples examples/l2fwd-crypto: fix padding 2017-02-10 16:05:01 +01:00
lib cfgfile: fix uninitialized variable on load error 2017-02-14 18:13:48 +01:00
mk mk: move PMD libraries linking to applications 2017-02-10 11:03:27 +01:00
pkg pkg: remove xen-devel for aarch64 2017-02-07 23:47:42 +01:00
usertools usertools: fix active interface detection when binding 2017-01-30 17:30:21 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: update email address 2017-02-08 18:43:31 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org