numam-dpdk/lib/librte_cmdline
Olivier Matz ac09cd9732 cmdline: fix check in port list parsing
The argument ressize contains the size of the result buffer which
should be large enough to store the parsed result of a token. In
this case, it should be larger or equal to sizeof(cmdline_portlist_t)
(4 bytes), not PORTLIST_TOKEN_SIZE which is the max size of the token
string.

This is not a critical, it fixes cases where the total length of the
parsed instruction is greater than the maximum.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2015-02-20 10:50:16 +01:00
..
cmdline_cirbuf.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline_cirbuf.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline_parse_etheraddr.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_etheraddr.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_ipaddr.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_ipaddr.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_num.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_num.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_portlist.c cmdline: fix check in port list parsing 2015-02-20 10:50:16 +01:00
cmdline_parse_portlist.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_string.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse_string.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_parse.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
cmdline_rdline.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline_rdline.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline_socket.c cmdline: fix for bsd 2014-11-24 13:17:49 +01:00
cmdline_socket.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline_vt100.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline_vt100.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
cmdline.c fix unix permissions for source files 2014-08-28 17:04:01 +02:00
cmdline.h cmdline: fix for bsd 2014-11-24 13:17:49 +01:00
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_cmdline_version.map cmdline: fix link due to missing symbol in version map 2015-02-04 23:24:44 +01:00