numam-dpdk/lib
Sergio Gonzalez Monroy d4ee3c61c0 mem: fix possible integer overflow
It is possible to get an integer overflow if we try to reserve a memzone
with len = 0 (meaning the maximum contiguous space available) and the
maximum available elem size is less than (MALLOC_ELEM_OVERHEAD + align).

Coverity issue: 107111

Fixes: fafcc11985 ("mem: rework memzone to be allocated by malloc")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2016-06-20 10:54:57 +02:00
..
librte_acl mk: fix cross-compilation 2016-06-07 10:02:39 +02:00
librte_cfgfile cfgfile: fix uninitialized variable on load error 2016-05-02 15:15:46 +02:00
librte_cmdline cmdline: check initialization error 2016-05-19 14:40:12 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev qat: fix physical address of content descriptor 2016-06-07 18:59:56 +02:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal mem: fix possible integer overflow 2016-06-20 10:54:57 +02:00
librte_ether ethdev: get port by name 2016-06-16 23:38:52 +02:00
librte_hash hash: remove aliases for bulk lookup 2016-04-20 13:49:36 +02:00
librte_ip_frag mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_ivshmem eal: remove useless includes of mempool and ring 2016-06-10 15:09:04 +02:00
librte_jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
librte_kni kni: describe mempool capacity requirement 2016-06-14 17:15:01 +02:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm6: fix possible garbage in lookup 2016-05-02 15:15:45 +02:00
librte_mbuf mbuf: add new Rx flags for stripped VLAN 2016-06-15 17:18:57 +02:00
librte_mempool mempool: fix local cache initialization 2016-06-15 15:58:34 +02:00
librte_meter mk: fix missing libm dependencies 2016-03-22 20:42:47 +01:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
librte_pdump pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
librte_pipeline mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_port mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_power power: fix error messages 2016-05-16 14:17:41 +02:00
librte_reorder reorder: allow random number as starting point 2015-06-22 22:20:12 +02:00
librte_ring mem: avoid memzone/mempool/ring name truncation 2016-05-19 14:40:14 +02:00
librte_sched sched: fix build without red 2016-06-14 17:24:15 +02:00
librte_table table: remove unnecessary acl dump 2016-06-07 22:58:18 +02:00
librte_timer timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: fix name not null terminated 2016-05-10 20:25:30 +02:00
Makefile pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00