numam-dpdk/lib/librte_cfgfile
Joseph Richard 3f3d51ebc8 cfgfile: fix parsing of long fields
When parsing a ini file with a "key = value" line that has both "key" and
"value" sized to the maximum allowed length causes a parsing failure.  The
internal "buffer" variable should be sized at least as large as the maximum
for both fields.  This commit updates the local array to be sized to hold
the max name, max value, " = ", and the nul terminator.

Signed-off-by: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2017-04-04 16:32:06 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_cfgfile_version.map cfgfile: support configurable comment character 2017-04-04 16:32:06 +02:00
rte_cfgfile.c cfgfile: fix parsing of long fields 2017-04-04 16:32:06 +02:00
rte_cfgfile.h cfgfile: support configurable comment character 2017-04-04 16:32:06 +02:00